Restored from previous forum. Originally posted by cor.
Control the keyboard, mouse, and screen of a remote PC via a LAN
Can this be done with PB or even nicer would be that someone has some startup code to do this.
Using Windows 98 SE
Registered PB version : 3.2 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
remote control of PC via LAN
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Danilo.
You need to write a client and server.
For the client you need some easy functions.
Something like SendKey() (search in this forum)
for the keyboard.
mouse_event_() function for mouse clicks and SetCursorPos_()
for controlling the mouse.
Dunno what you mean with controling the screen.
You can start programs, type, use the mouse
and everything.
The server sends an internal command to the remote PC
(you can do this like you want, network functions are in PB),
and the client(s) receive this "command", interpret it
and do the stuff requested.
cya,
...Danilo
(registered PureBasic user)
You need to write a client and server.
For the client you need some easy functions.
Something like SendKey() (search in this forum)
for the keyboard.
mouse_event_() function for mouse clicks and SetCursorPos_()
for controlling the mouse.
Dunno what you mean with controling the screen.
You can start programs, type, use the mouse
and everything.
The server sends an internal command to the remote PC
(you can do this like you want, network functions are in PB),
and the client(s) receive this "command", interpret it
and do the stuff requested.
cya,
...Danilo
(registered PureBasic user)
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tranquil.
hi Cor!
Search the Web for WinVNC, its a free Server/Client Software for RAS.
Sourcecode is also available on the webpage.
Possible that helpes you.
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
hi Cor!
Search the Web for WinVNC, its a free Server/Client Software for RAS.
Sourcecode is also available on the webpage.
Possible that helpes you.
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by cor.
Yes, I know that there are other programs, we use ourselfs for demonstration purposes remote control (very good).
It takes over also the screen, so we can see what the user can see and can do.
http://www.twd-industries.com
The reason that i want to make it myself is that when buying this the price voor 200 users in our company cost ($ 4000 )
Cor
Using Windows 98 SE
Registered PB version : 3.2 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
Yes, I know that there are other programs, we use ourselfs for demonstration purposes remote control (very good).
It takes over also the screen, so we can see what the user can see and can do.
http://www.twd-industries.com
The reason that i want to make it myself is that when buying this the price voor 200 users in our company cost ($ 4000 )
Cor
hi Cor!
Search the Web for WinVNC, its a free Server/Client Software for RAS.
Sourcecode is also available on the webpage.
Possible that helpes you.
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
Using Windows 98 SE
Registered PB version : 3.2 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Shawn.
Hi.
Like Tranquil said, you should have a look at WinVNC by AT&T.
http://www.uk.research.att.com/vnc/
It is free and I find it very stable. You would generally use it behind a firewall.
I support an office of 60 Windows 2000 PC's. Each one runs VNC as a service. I never need to install a viewer because the host program provides a java applet. I can sign into a user's PC using a webbrowser from any PC on the network.
It is very stable. Yes I know I already said that, but after having supported a much smaller office using PCAnywhere32...
Shawn
Hi.
Like Tranquil said, you should have a look at WinVNC by AT&T.
http://www.uk.research.att.com/vnc/
It is free and I find it very stable. You would generally use it behind a firewall.
I support an office of 60 Windows 2000 PC's. Each one runs VNC as a service. I never need to install a viewer because the host program provides a java applet. I can sign into a user's PC using a webbrowser from any PC on the network.
It is very stable. Yes I know I already said that, but after having supported a much smaller office using PCAnywhere32...
Shawn