Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++C#VB.NET
Before i asked a question on CP and get no help on vb.net. So my question is how to disable the mouse driver, then re-enable it. Not freeze the mouse on the screen, like actually disable it. Like how you disable the mouse driver by going in control panel and into your mouse settings. That's what im trying to figure out how to do, but in a program.
 
I really need help with this, any help would be the world to me
 
Thanks in advanced!
Posted 12-Feb-13 12:25pm
dachazz210
Comments
Sergey Alexandrovich Kryukov at 12-Feb-13 18:31pm
   
Why? I really would like to here that. And don't think that many will be glad to help you without knowing the reason... :-) —SA
Matthew Faithfull at 12-Feb-13 18:32pm
   
I'm not sure why you would ever reasonably want to do such a thing but if you did you'd have to use the SetupAPI to unload the driver or something out of the DDK to talk to the driver interface if it has an enable/disable function. I've never done either personally.
PIEBALDconsult at 12-Feb-13 18:37pm
   
Would you want someone to do that to you?
Chase Turvey at 12-Feb-13 18:38pm
   
alright sorry for the long story but here it goes. I recently got Win 8 X64 and it is amazing. I have a Cyborg RAT-3 gaming mouse. I installed the driver and it worked fine.....at first. When i shutdown the computer and then turned it back on the DPI was messed up. Usually its 3500 DPI and that's what i usually use. But when i turn on the computer the DPi was 200. So i made a prgram before in vb.net re-installing the driver on start up. Didn't work. I tried installing the driver from the CD, worked. last week i tried disabling the driver then re-enabling it. that worked with out installing the driver. I already tried a million times with trouble shooting on the website and none thing worked. So this is why im trying to figure out how to do this :)

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I hate to send you over to StackOverflow for your answer, but here's the first link that came up on Google:
 
http://stackoverflow.com/questions/1438371/win32-api-function-to-programmatically-enable-disable-device[^]
 
The top answer pretty much answers your question.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 940
1 OriginalGriff 543
2 Abhinav S 253
3 thatraja 245
4 Emre Ataseven 200
0 Sergey Alexandrovich Kryukov 8,282
1 OriginalGriff 4,750
2 Peter Leow 3,784
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 12 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid