|
I've never actually done driver development. Do you know of a good place to start?
Thanks so much for your help
|
|
|
|
|
I don't know of any myself, but you can probably keep a bunch of these[^] in your favorites. No sense in going to just one place to get all your information!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi
is there any way so that i could change my screen resolution at run time in c#.net application and than again
back to the previous value
thanks in advance
hello
|
|
|
|
|
user32.dll contains the necessary functions, such as
EnumDisplaySettings() and ChangeDisplaySettings()
good luck with it !
Luc Pattyn
|
|
|
|
|
Unless you're writing a game, changing system-wide settings is considered EXTREMELY BAD PRACTICE!! You're not changing the resolution just for your application, but for ALL applications, system-side.
-- modified at 15:46 Monday 16th October, 2006
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
yes it is ,,
but is there any way to do so ?
thanks in advance
|
|
|
|
|
Then you'd should be doning this using DirectX. DirectX will allow you to change screen resolutions without changing system settings to do it. Changing system settings will alter how the users desktop looks and rearrange any Desktop icons.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I do some simple programming with Visual Studio.Net. I was downloading some Microsoft security patches and one of them was for Framework 2.0. I have the online version of Visual Studio Express installed now and I am using it exclusively. I was trying to free up some disk space and I noticed that I have 5 different installations of Microsoft.NET Framework.
They are as follows:
(English) v1.0.3705
1.0 Hotfix(KB886906)
1.1
1.1 Hotfix(KB886903)
2.0 (which has the latest security patch from Microsoft)
I also have Visual Studio 2003 installed which I use occasionally.
My question is this. Which, if any, of the 5 above different versions of Framework can I delete and still be able to run Visual Studio 2003 and Express?
Thanks
|
|
|
|
|
(English) v1.0.3705
1.0 Hotfix(KB886906)
I have VS 2003 and 2005 installed. I don't have any .NET 1.0 stuff.
Kevin
|
|
|
|
|
Hi Friends,
I developed a desktop applcation in .NET 1.1 frameework using C#.
The application works perfect in Windows XP or Windows 2000 Server environment, but in Windows 2003 server the application is really slow. The performance is degraded upto 200%. i.e. it takes 4 times more time in Windows 2003 server than under Windows XP or Windows 2000 server.
Can anyone tell me what is the problem and can it be rectified.
Thanks,
Sushant Duggal.
|
|
|
|
|
Sushant Duggal wrote: Can anyone tell me what is the problem
Nope. We don't know anything about your code or what your app is doing. If you give us some details, we might be able to suggest something.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi Dave,
My application is a mail sending application using cdosys.dll. i have used threading concepts to enhance the performance of the application.
but the performance is so bad in win2003 server
Regards,
Sushant Duggal.
|
|
|
|
|
This doesn't help much. You'll have to profile your code on the Server to see where the problem is.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
This doesn't help much. You'll have to
profile your code on the Server to see where the problem is.
Hi,
Can you tell me what do you mean by profiling the code???
Thanks,
Sushant Duggal.
|
|
|
|
|
It means that you use a code profiling package to log the time it takes to execute sections of your code. This will tell you where the bottleneck is so you can troublehsoot your problem.
Here[^] is a trial version of a profiler.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
check if the server is ok. I once had a similar situations and begun profiling my application. After several days a figured out that the hard disk was slow because of a badly configured raid system. It could have saved me several days if I just had called our admin to tell him to fix the raid.
Robert
|
|
|
|
|
Thanks Robert,
But I tried it on two systems, ans I faced the same problem.
Can you tell me about profiling.
Regards,
Sushant Duggal.
|
|
|
|
|
Hi,
in short:
1. Compile your app in Debug mode and put it onto the server.
2. Download and install a profiler on the server (NProf[^] is a free one).
3. Start NProf, select your application and make a test run.
4. In case of NProf the application must shut down before it shows any results.
5. Analyse the results to find which part of your app is slow.
Robert
|
|
|
|
|
Hi,
Does anyone know if there's functionality available in .NET (using C#?) to
export data from a Windows Application into a PowerPoint file format? For
instance, if I'd a form containing a bitmap image in my Windows App, I need
to save that to a slide in the PowerPoint file.
Any ideas/info is appreciated.
Thanks
AP
|
|
|
|
|
I'm writing an FTP utility and had wanted to dispay/allow user to update the ip address, user id and password in toolstrip text boxes. My issue - for which I have a work around is that the .net toolstrip textbox control does not allow for masking characters.
I'm interested to hear some options that others may have used to solve this deficiency in the control.
S.D.Hunt
|
|
|
|
|
The controls that come with the .NET Framework are a basic set of controls. They're not meant to be the "Be All, End All" of the Utimate ToolBox. If you need specific functionality, there are two methods of getting it. Either find and buy a commerical control library that offers the functionality you need, or (my personal favorite!) write it yourself!! That's what inheritance is for and why you have the Control Library projects in Visual Studio. You can make your own version of the control with the added functionality tacked on.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi guys -
When using the 'System.Configuration.ConfigurationManager.AppSettings("key")', it seems like it can only access the config settings defined for the primary assembly running in the app domain.
i.e. i have a program
MasterApp.exe
SOAPProxyLib.dll
Now, if i declare the following AppSetting value in the SOAPProxyLib.config:
<br />
<add key="key" value="value"/><br />
And then invoke it
<br />
Dim lstr As String = System.Configuration.ConfigurationManager.AppSettings("key")<br />
It returns nothing, but if i declare it in the MasterApp.config, this works fine, called from the SOAPProxyLib.
Is there any way i can put the settings i want for the library in the libraries config settings, and manage them independently to the rest of the app?
Cheers
Tris
|
|
|
|
|
The Catalyst wrote: When using the 'System.Configuration.ConfigurationManager.AppSettings("key")', it seems like it can only access the config settings defined for the primary assembly running in the app domain.
That's right! Only application get to use config files. DLL libraries do not get their own config files. This is because a DLL becomes a part of the process (or application) that's calling it. Anyone using your library has to be aware of the fact that they must put any configuration information your library needs into the applications config file.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Ahhh, cheers for clarifying that.
Mooooore documentation
|
|
|
|
|
Frndz,
Is there any class in .NET 2005 which has collections of all the months?
Regards,
Vipul Mehta
Sr. Software Engineer
NIIT Technologies Ltd
|
|
|
|