-
I would like to know if there is a way to disable the mouse and keyboard from within VB while a certain process runs, and then enable them again once complete. This must be system wide so the mouse and keyboard cannot bring focus to another application or anything.
Any help with this would be greatly appreciated since I have no idea of how to do this (or if it is possible).
Thanks in Advance
-
hmmm I'm sorry but I don't think that's possible in VB, because you need a system-wide hook, you can always fake it with some apicalls but not sure how to do that.
So get yourself on C(++) and try to develop a DLL that does the job and reference it in VB.
-
Megatron knows how to do it. I saw him post sometime a while back.
-
Not sure if you can do this anymore, but back in the day you could open forms (or was it programs?) as system modal - sort of like a dialog box with attitude. No keyboard or mouse events would get processed outside of the form (program?) until it was closed.