Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

Need guidance on hooks

$
0
0
Hello VBfourms,

I am new to visual basic and well programming in general although I have had an introductory class in C programming. I am using Visual Basic 2010 to make a tool that can monitor a computer that is being used either by a user at the desktop or sometimes remotely. On this computer I need to monitor a specific setting in a program that is set by the user if it is running and check to see how long it is running.

I guess I need a push in the right direction. So far to my understanding I need to use a thread specific hook to check for application for a message from the program/window/thread? That says I have turned on the setting. Then when it is turned on I can enable my timer. The hook that I need to use is either WH_CALLWNDPROC(ET) or WH_GETMESSAGE. I am still learning more about hooks and playing around with spy++.

Am I on the right path? Which hook would be better to use? I would also appreciate any examples in a situation similar to mine. Any other advice is welcomed too. Thank you

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>