|
before asking this kind of question why don;t you search the site!!!!
just type WMI into the textbox at the top of the page...
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
actually i did but all in vain. every example posted in WMI articles are not about peripherals like sound devices, video cameras or even scanners....
i thought maybe anyone have had worked in this particular case!
|
|
|
|
|
In version 6.0 I could right click and delete, now I can only add????
|
|
|
|
|
To be honest, I never use the Class Viewer - working directly in Solution Explorer. From Solution Explorer, you can delete files, and assuming you follow standard practice of 1 class per file, this should do the same thing.
|
|
|
|
|
Thanks, I finally saw that. The "file view" magically re-appeared.
|
|
|
|
|
I have application with header and detail. I browse the data both with datagrid. In datagrid parent i have some trouble, it is display plus (+) sign because the datasource for this grid have relation. I dont want to remove this relation. How to invisible this sign Thx.
|
|
|
|
|
Does anyone know of a way to dynamically determine which server to use a web service from.
I basically want to be able to change a registry setting and switch web servers should one fail.
Think .NET Reflection is likely to a part of the solution??
Thanks in advance,
Andrew
|
|
|
|
|
There is a Url property to a Web Service.
localhost.Service1 tService = new localhost.Service1();
tService.Url = "http://www.GoThere.com/Service1/";
|
|
|
|
|
How to shutdown windows from vb .net application thx
|
|
|
|
|
You can use the ExitWindowsEx[^] method, but remember, on Win2000/XP you'll need extra privileges to use it.
|
|
|
|
|
What is the extra privileges for window XP? I use this but it does not work. Thx
|
|
|
|
|
In VB5 is was
Shell "RUNDLL32.EXE user,ExitWindows"
so it should be
System.Diagnostics.Process.Start("RUNDLL32.EXE user,ExitWindows");
in VB.NET
|
|
|
|
|
I already use this code, but it is error "Can not find file" How about it? thx
|
|
|
|
|
Here's code that'll do it in C#. This includes the code to temporarily elevate the process' privileges so that it is allowed to shut down the system. (ExitWindowsEx will fail on WinNT/2K/XP if you don't elevate the process' privileges before calling it).
--
Russell Morris
"So, broccoli, mother says you're good for me... but I'm afraid I'm no good for you!" - Stewy
|
|
|
|
|
Here's code that'll do it in C#. This includes the code to temporarily elevate the process' privileges so that it is allowed to shut down the system. (ExitWindowsEx will fail on WinNT/2K/XP if you don't elevate the process' privileges before calling it).
link to google group message
--
Russell Morris
"So, broccoli, mother says you're good for me... but I'm afraid I'm no good for you!" - Stewy
|
|
|
|
|
Hello...
For some strange reason, several of the forms in my vb.net app no longer open up in form design mode. They only open up in the code view. Is there any way to change this back??
thanks
- dw
|
|
|
|
|
Every form file, has a resx counterpart. Try deleteing the resx file and opena the form file again.
Free your mind...
|
|
|
|
|
Would anybody be interested in a sample Programe for NET Framework.Compact (VS 2003) with a DateTimePicker ?
The source is based on C# Code found on there Server, but with Internalation support.
At the moment it cannot do two things :
- set the first day of the week (allways Sunday)
- automaticlly translate the word "Today".
The month picker supports all Maschine date formats.
The Day of Week and Month show local language.
Adding a new language takes 3 lines of code.
German and English are supported for the "Today".
Mail here or to mj10777@mj10777.de
Mark Johnson
|
|
|
|
|
I am using Microsoft Exception management application block. But it seems like whenever I have custom publisher configured, i cannot publish exception using default publisher to event log. How can I do this?
|
|
|
|
|
In the VS IDe when you type in the word "System."
a list of possible options appear just below your cursor.
Is there any way to do this same thing for a simple text box
or a RTF control??????
Thanks in advance.
=================================
When I was in school, all I wanted was to get out into the real world.
Now that I'm in the real world, all I want is to go back to school.
|
|
|
|
|
hmmm... Could you do it in the TextChanged event?
|
|
|
|
|
Does anyone know how the code is generated for managed C++? Is it converted into MSIL and thereby subject to the same decompiler issues as C#? If so, then what about mixing managed and unmanaged code - do you get a chunk of MSIL inside the PE format?
The reason for this is to avoid the (easy) decompilation of my source, without shelling out 1000+$ for an obfuscator or a 2nd level compiler (eg Salamander .NET protector). It seems to me that the obfuscation is only a partial or temporary solution - does anybody have some working experience on using this technique. Would hate to fall back to MFC to avoid this issue.
Thanks
/Boris
|
|
|
|
|
Does anyone know why PageScale doesn't work while double buffering?
Gary Kirkham
A working Program is one that has only unobserved bugs
I thought I wanted a career, turns out I just wanted paychecks
|
|
|
|
|
This defaults to "ImeMode.NoControl."
For a CJK localized app, should the user be allowed to pick a mode, or should this simply be left at default? Or is mode changing part of IME?
When all else fails, there's always delusion.
- Conan O'Brien
|
|
|
|
|
Hello,
I am writing a web application using Visual Studio.NET. I noticed that whenever I make changes to the application I need to rebuild/compile the whole program in VS.NET and then re-upload the entire application on the server, otherwise the changes won't take effect. Is there any way for me to replace only the changed files on the server and then rebuild the application there without installing VS.NET on the server itself?
Thanks for your help,
RC
|
|
|
|