I'm trying to write a set of programs - that is, a client and a server version of the same program - that works kinda like this:
It is, in essence, the opposite of the VnC program if you've ever used it. (Please tell me it's possible in VB!!!)
The client version just runs at startup and is unseen by the user, while the server version is always visible. Now, the clients of the program can't see or do anything with their program but the server can. Now when the server clicks the "ON" button, i guess you could call it, all of the client's programs will suddenly become maximized with a borderstyle of 0, filling the entire screen including the start menu. After this has happened, the server computer's program becomes invisible and keeps sending a screenshot of whatever is displayed on their screen (kinda like a print screen function or something) to all of the client programs. That screenshot is then placed on the client user's screens and stretched to fit, etc. Now this would only happen every 1 second or something, so I'm guessing a Timer control or a DELAY command or something, but what I'm trying to get to work is the whole "capture the screen of the server and send it to the clients" thing. It's also nasty because I also need the mouse to be captured. To use keystrokes to capture the screen WITH the mouse you have to press the little WINDOWS button + PRINT SCREEN. I've tried using the SENDKEYS command and can't seem to get it to work.



LinkBack URL
About LinkBacks


