PDA

View Full Version : visual basic 6 on a LAN


wildelf
10-28-2002, 05:25 AM
I made a program for counting the time when you press the button "start" and charging it when you press the button "stop", to 15 different PCs. All the PCs are connected in a LAN with a server. I was wondering if i can activate and deavtivate the screensaver to those 15 PCs by pressing a button in that program i made which is installed on the server. But i want it to be the only way to activate and deactivate the screensaver, and not by moving the mouse or pressing a key to those 15 PCs.
Is this thing possible to make on a LAN? ,
Is there anyone who can help me?

Tarkus
11-16-2002, 04:13 PM
Provided you can actually communicate to those 15 PC's you must remeber that a screensaver is nothing more than an executable with a .scr extension.

You can probably look in the registry for the current screensaver (Where? I have no idea) and execute it with your client software.

LabelTN
05-16-2004, 10:55 PM
Use Winsock.

Using indexed winsocks on the Server, you can link as many PCs as you like and send commands through the LAN to your ScreenSaver clients like "close" or "change settings", things like that.

Use the SendData and GetData methods.