Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Monitoring one program with another....

Status
Not open for further replies.

OrthoDocSoft

Programmer
May 7, 2004
291
0
0
US
Folks,

Is there a way to write a program that can "watch" what another program is doing, or more specifically, what the user is doing with the program, and then do events accordingly? I know this sounds like a keylogging program, and to some extent it is, but I'm not talking about covert/surreptitious activities, but rather desired/legitimate ones.

Thanks,

Ortho

[lookaround] "you cain't fix 'stupid'...
 
Are you talking about CBT stuff? There are a few CBT callbacks which can be accessed from C so they should be accessible from VB as well.
 
Maybe a workaround could be having the first prog writing a logfile.
Second prog: As soon as the logfile changes, read it, analyse log entry, Do whatever needed, clear logfile, wait for next change.

Or did I get it wrong?


Kind regards
Mirko
--------------------------------------
>>>>>> ... I am sure, some supportissues are a matter of PEBKAC ... <<<<<
 
CBT Callbacks are definitely accessible from VB. Check this: thread222-1407322
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top