WvanEck's Q&A profile
Visual C++ Getting WMI Data From a Remote Computer Visual Studio 2005 C++
I am trying to get the following script (Sample from MSDN) to work with Visual Studio 2005. It’s a sample script for WMI; retrieving data from a remote system. Not sure what’s going on, code compiles ok but the linker is running into the following error: wmipart9.obj : error LNK2028: unresolved token (0A000317) "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" ( ConvertStringToBSTR@_com_util@@$$FYG ...Show All
.NET Development Using DirectoryEntry to manipulate local users
This link shows how to add users to a group using DirectoryEntry http://msdn.microsoft.com/library/default.asp url=/library/en-us/sds/sds/adding_users_to_a_group.asp Is it possible to add machine local users to a local group If yes, what distinguished name would I use e.g. if I wanted to add the user foo to the local group bar on the computer qux Thanks, Klas Hi Klas, As the DirectoryEntry class is basically a wrapper over ...Show All
Windows Forms GDI+ drawing tool reqd
I'm looking for a Winforms GDI+ drawing tool specifically for placing and manipulating text annotations, customizable image icons and rotatable arrows. The end user runtime must be freely re-distributable and the price must be less than $500. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Forms.Keys vs DirectInput
I know its probably just me, but is there any reason that OnKeyDown can only process one key down at a time I should add that I am used to using DirectInput for this kind of thing, but I see that it's being recommended not to use it any more, so I tried using OnKeyDown, but when I hold down 2 keys at once, only one gets processed even though my code looks like: if (e.KeyCode = Keys.W) moveforward(); if (e.KeyCode = Keys.A) moveleft(); ...Show All
Visual Studio Express Editions BindingNavigator Not Working
I am trying to use the BindingNavigator with XML data in DataGridView. Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim filePath As String = "authors.xml" [AuthorsDataSet].ReadXml(filePath) DataGridView1.DataSource = [AuthorsDataSet] DataGridView1.DataMember = "authors" ' Set the DataSource to the DataSet, and the DataMember ' to authors. Bin ...Show All
Windows Forms Support Multi Languages
My application is developed using the standard (default) components in Visual Basic 6.0. I want the system able to accept other language like Chinese Character. But, I noticed that some components (like Standard component, mscomctl.ocx) cannot display (and accept) the correct Chinese characters, but FM20.DLL can do that. It is a lot of modification if I changed all the components used in my application to FM20.DLL components. Is i ...Show All
.NET Development Simple solution
Hi, my .NET-application uses a .NET-Assembly which seems to create some problems: When I click the X-button of the window of my app, the window hides but the programme doesn't end. I tried to get arount that by using this code: private void MyForm_FormClosed(object sender, FormClosedEventArgs e) { Application.Exit(); Thread.CurrentThread.Abort(); } The Assembly mentioned above works asynchronously and has some events, whi ...Show All
Smart Device Development [Emulator VS 2005 Beta 2] Loading a image file
Hi, I truy to disp a imaeg file into the emulator. I launch the emulator connect to it via the Visual Stuido Remote Tool then i download a jpg file right in the exe folder. In my code i write this : Bitmap bmp = new Bitmap ( "\\Storage\\Program Files\\CSWinTelecopie\\chronos.jpg" ); Rectangle srcRect = new Rectangle (0,0,bmp.Width,bmp.Height); e.Graphics.DrawImage(bmp, this .ClientRectangle, srcRect, GraphicsUnit .Pixel); & ...Show All
SQL Server Yet another processing error...
Hi. I have a cube that has processed just fine for a couple of weeks but today, it suddenly gave me an error message when processing: "Internal error: An unexpected exception occured." with no further information. The error occured after all dimensions and measure groups had been processed. After restarting the server to resolve any issues with open or corrupt files, I reprocessed the cube and before it had finished, ...Show All
.NET Development RS232 (COM port)
Hi , how can I communicate(transfer data) with Datagrid in VB.Net Forms with RS232 (COM port) I want doing relationships from BAR code reader to DATAGRID in Vb Forms HELP ,and I‥m sorry for bad english If you searched the internet for 2 seconds you would have landed on http://www.gotdotnet.com/team/clr/bcl/demos/demos.aspx then look for Serial Port demo on that page. In general I highly recommend that you do some reseach before posting q ...Show All
Visual Studio "Version Not Found" error in automation
Hi I'm writing some SourceSafe automation to get specific versions of files. I'm writing in VB.NET and SourceSafe is version 6.0.d When I identify the version of the file I want and issue the GET command it fails with "Version not found". Obviously this is wrong because I've just correctly identified the version. This is my code... ................................................ If vsVersion.Label = strLabel Then Try vsThi ...Show All
Smart Device Development Help! about the Menu!
I noticed that in vs2005(smartphone 2003 SE app), MenuItem can only be added into right softkey popup-menu. But I want to get a popup-menu when I press the left softkey, how I can do Thank you T.T Sriram Krishnan MSFT wrote: That would be a violation of the logo guidelines. Dont do it! That is a lie. http://download.microsoft.com/download/5/6/8/568a922b-b62c-46d3-a745-0172c2638686/sp_handbook_m ...Show All
SQL Server HTTP Access to Analysis Services 2005
Anyone know how to configure this yet Would like to be able to test client access to Analysis Services 2005 using an http connection instead of a direct connection. It doesn't look like this is documented in BOL yet (at least not in the June CTP build). Thanks, Dave Fackler You will probably have to configure Kerberos for authentication. Here is a link of how to setup this: http://www.mosha.com/ ...Show All
.NET Development NotifyAlert.exe-Common Language Runtime Debugging Services
How can I get rid of this Window popping up NotifyAlert.exe Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process ID=0x7fc (2044), Thread Id=0xc38(3128)   ...Show All
Visual C# How to make toolbar
i want to know that how can i make toolbar in c#.net.and how to add that toolbar in IE. Regards Amit Grover Hi, Take a look at the following article to help you get started: http://www.codeproject.com/csharp/dotnetbandobjects.asp Regards, Vikram ...Show All
