djmikke's Q&A profile
Visual Studio Team System There was an error looking up the SID
I've hit a conversion issue during a run of vssconverter.exe. The following error was reported in several cases: TF60096: Unable to migrate due to Team Foundation Error: TF50605: There was an error looking up the SID for <USER>. The associated files never made it from VSS into TFS. A quick spot check of the VSS history showed the file was created by the <USER> mentioned in the error message. This occurred for approximately 50 files across 4 different users. Other files were converted successfully and the users in question do exist in VSS. Anybody run into this before I'm sorry to hear that you are having difficulty with your migration due to user mapping issues. In those cases w ...Show All
Visual Studio VS 2005 failed to install 64bit prerequisites
Hi, When I try to install Visual Studio 2005 on 64bit Windows Server 2003 i get the error: Microsoft Visual Studio 2005 64bit Prerequisites (x64): Error code 1603 for this component means "Fatal Error during installation." There was Visual Studio previously installed on that machine but I had to uninstall it. And now I can't install it at all. Do you have any suggestions Where should I look Any help is highly appreciated. Simon Please look at http://blogs.msdn.com/astebner/archive/2004/11/10/255346.aspx Thanks, Manisha. ...Show All
Visual Basic Checking if drive exist
I got a few questions, maybe you might be able to help. I am needing to design a program that will check for a problem with another pc in my local network. We are not running a server type enviroment, but just a simple peer to peer platform. Any how on to the problem, We use one pc to act as a server, and the hard drives use a raid controller using 1(mirror). We ran into a snaffou yesterday, because no one in that building monitors thier pc's, they just use them, anyhow the raid broke and created 2 independent drives with the same shared folders, and the drive windows decided was bad wasnt the right drive, it renamed the volume and took everyone back to fridays data that resided on the drive that windows thought was bad. Anyhow ...Show All
Software Development for Windows Vista Looking for some help on where to start...
Hi all, I've been looking around and around in samples and posts in the forum but I found nowhere a way to help me on my noob question. It seems like most of you have been using InfoCard in a web environment. Well, I'm willing to use it in a smart client application. Question 1.How can I request Windows Vista to prompt the Card selection to the user... Simple huh Question 2.Then, what I want to do is quite different from the standard challenge request web process: All the users of the application will open a local session (managed by the application) in order to provide an offline mode while making sure I got all the require information. Once the user enters in the online mode, I want to pick the card information and send ...Show All
Smart Device Development <RESOLVED>HT trap _ and - keystrokes
Does anyone know how I can trap the underscore and dash keypresses I have to allow these keystrokes while excluding others. When a dash is depressed, e.Keycode returns a value of 189 and when I try "e.KeyCode.ToString = " I get "Back, ShiftKey, RMenu" which makes no sense at all. Thanks in advance! Try hooking the KeyPress event instead and take a look at e.KeyChar: private void textBox1_KeyPress( object sender, KeyPressEventArgs e) { e.Handled = !(e.KeyChar == '_' || e.KeyChar == '-' ); } ...Show All
Visual Studio Tools for Office Change Outlook email address "to" in BeforeCheckNames()
Hi all, I'm developing an MS Outlook Add-in with VSTO (VB.NET). I've to change an email address before sending it, but here is a problem that the field "to" is ReadOnly. So I've to turn off the email address verification or change that field in BeforeCheckNames() somehow. Any ideas Best Regards Alexander Olekhnovich Alexander - I found this thread and I wonder if you were able to solve the problem One idea is to essentially cancel the message and use the Forward feature to redirect the message. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??
im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All
Windows Forms TreeView show images with only a few nodes
I have a TreeView with nodes and sub Nodes (only 2 levels). Is it possible for me to display images for the sub-nodes and not the parent nodes I thought of using a transparent image, but that still showed the space where the image needs to be. I think you'll need ownerdraw to do this. Draw the folder icons with Graphics.DrawImage() ...Show All
Visual Studio Express Editions Calling Win32 API from Assembly Code
Hi How do I call a Win32 API from assembly code Basically I have to call kernel32.dll function from my assembly code. Hi Mike, I have got solution. Below is Function that read the current country on system. GetLocaleCountry() { // TODO: Add your control notification handler code here //// Load Library HMODULE hModule = GetModuleHandle("kernel32.dll"); ///// Get Function Address of "GetLocaleInfoA" PVOID FunPtr = GetProcAddress(hModule,"GetLocaleInfoA"); ULONG ulCurrentESP; /// Used to store Current Stack Pointer USHORT usRtn; /// Used to store return from API Call CHAR *strPtr = new CHAR[100]; /// Output Buffer to Store Data DWORD lcid = LOCALE_USER_DEFAU ...Show All
Windows Forms how to recieve a MM_MCINOTIFY message on my Windows Forms Dialog
hello all i'm new in the C# and DotNet World i'cam from MFC/Win32 World I need to recieve a custom message in my WinForms Dialog in the past, i did it by adding ON_MESSAGE(MY_MESSAGE_ID,OnMyMessage); specialy i need to handle the MM_MCINOTIFY message please help thanks in advance You can override the WndProc method in your form (or any control for that matter) and handle any custom messages that are not exposed as events by .NET. Be sure to call the base implementation as well just in case they do something. public class MyForm : Form { protected override void WndProc ( ref Message m ) { switch(m.Msg) { case MM_MCINOTIFY : //Do work }; base.WndProc(ref m ...Show All
Windows Forms How can code short cut for CTRL+Enter in VS 2003.
I am using Visual Studio 2003 and wanted to provide a menu short cut key as CTRL+ENTER key. I am not seeing this key by default at System.Windows.Forms.Shortcut. How can assign CTRL+ENTER key in menuitem Thanks in advance. gqlu, You are right. I tested your code with VS 2005 C#, it works with this .exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms. Keys )((System.Windows.Forms. Keys .Control | System.Windows.Forms. Keys .Enter))); Unfortunately, similar one does not work in VS 2003 In VS 2003, this ->menuItem3->Shortcut = ((System::Windows::Forms::Shortcut)((System::Windows::Forms::Shortcut::Ctrl0) | (System::Windows::Forms::Shortcut::Enter))); gives error C2676: binary '|' : 'System::Windows::Form ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Depth of GameComponents?
Hey, I've been trying out some features of XNA and I noticed that one really necessary feature is missing... there is no way to set the order in which game components are drawn in the existing framework. I would really appreciate a Depth or ZOrder property of the GameComponent class and a Sort() method for GameComponentCollection. Maybe there is another way to do this, but I would find it a lot easier than using the Insert() method, since developers may want to change the order after adding the component. This is probably a pretty crude explanation as I haven't given that much thought to it, but it still seems that some sort of solution to this would be very useful. Please tell me what you think or plan to do - thanks. ...Show All
Visual C# App.config in a C# Class Library
App.config in a C# Class Library I have a class library that has the following App.config file in it. ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Problem is, that when I attempt to get the eventLogName key value my class object like this: ------------------------------------------------------------------------------- ConfigurationSettings.AppSettings["eventLogName"].ToString() ------------------------------------------------------------------------------- It doesn't see the appSettings as having any keys at all. I see the connectionStrings key, just not the appSettings key weird.... ...Show All
Windows Forms WinForms InterOp
Hello All, I am developing an interop application using MFC and WinForms. I have devloped a user control in C# using Windows Forms. This control contains a TreeView with a context menu. One of the choices in the context menu opens a dialog created using a Form class. The problem appears when this dialog opens, leaving a grey area in the TreeView control area where the menu has been drawn. It seems like the TreeView control is missing a repaint message. The grey area disappears when the TreeView is forced to be redrawn. This problem appears only when the user control is placed in a MFC container using either of the classes CWinFormsControl or CWinFormsDialog. It works perfectly when the user control is placed in a WinForms form execut ...Show All
SQL Server Sequence Clustering Capabilities
Hi! I've read a lot of informoation about the Microsoft Sequence Clustering algorithm, but the more i read more confused i get. Here's my doubt: Can it discover sequences of "tokes" and then group them Or only compare sequences in order to group them Thanks in advance Your model describes the sequences of tokens along with other data and the algorithm groups the sequence data along with the other data. It doesn't "match" sequences, it finds sequences that are similar. E.g. A->A->B->C->D could end up in the same cluster as A->B->C->D, or even A->A->B->D depending on the other data involved. ...Show All
