|
-
Mar 25th, 2006, 04:18 PM
#1
Thread Starter
New Member
Remote Desktop
I want to make a remote desktop application using winsocks. I have no problem controling the mouse or key board on the remote computer, bun I have some problems with captureing the screen of the remote host. I thought of making a screen shot, converting it to a jpg, and send the file to the server, but a jpg can be up to 40kb, even at low quality, and if u are working on a slow connection that could be a problem. So, can somebody tell me a better way to do this?
-
Mar 26th, 2006, 03:01 AM
#2
New Member
Re: Remote Desktop
Im doing the exsact same thing.
An 40kb jpg is not that bad if you have a 1Mbit conection like i do.
PNG can be smaller and a much clearer image.But making a png is more complicated
-
Mar 26th, 2006, 05:32 AM
#3
Thread Starter
New Member
Re: Remote Desktop
My connection is 512Kb. I'm gonna try this method and see how it works. (have to fix some bugs first).
-
Mar 26th, 2006, 05:53 AM
#4
New Member
Re: Remote Desktop
I gota find a better way to conect to the net i cant seam to get winsock activex to work on limited user acounts
-
Mar 28th, 2006, 04:13 PM
#5
New Member
Re: Remote Desktop
How do you control the keyboard on remote system?
-
Mar 28th, 2006, 11:51 PM
#6
New Member
Re: Remote Desktop
Simple use key_down event on the picture box to recive keys.Send ASCII over the net and then simulate the keypress of that ASCII.There is even a VB comand for simulating keypress.
This is the lest of my worys.I have the screenshot and JPEG encoding up.Now i trying to get the winsock API to work.I am acepting conections i only need to figure out how to transfer data.
-
Mar 30th, 2006, 06:53 PM
#7
New Member
-
Mar 30th, 2006, 11:38 PM
#8
New Member
Re: Remote Desktop
I found this exsample but it uses a OCX winsock.I need API.I can probobly send a JPEG in one pice.Just read it in dump it all in to send and recive on the other side.
-
Mar 31st, 2006, 04:57 PM
#9
New Member
Re: Remote Desktop
Are you talking about something like a DLL File? I think that will be sort of complex.
-
Apr 1st, 2006, 01:06 AM
#10
New Member
Re: Remote Desktop
Well I got it to listen on a port and acsept all conections.
I just gota make it recive/send data.
But not till BitCommet downloads me VB 6.0.I Reinstaled windows and i smehow mispaced the CD.
-
Apr 1st, 2006, 05:40 AM
#11
Addicted Member
Re: Remote Desktop
You may break the screen into smaller rectangles. If you know that a part of the screen does not change between screen updates, you will not have to send the data for it. Also, like VNC does, you can only update the window in foreground.
I thought about a bunch of algorithms once and you may try a very cruel method to capture the screen.
Listing the handles of the visible windows. Determine which window needs to be updated. Then you can tell your viewing application to reconstruct these windows, that do not have picture data in them like title bars, command buttons, text fields...
This may save you a lot of transaction time, though it may use up the cpu ressources.
-
Apr 18th, 2006, 04:50 AM
#12
Thread Starter
New Member
Re: Remote Desktop
I kinda finished my program. This is what it can do:
- download any file(s)/folder(s) from the remote computer with the option of canceling some downloads
- upload any file to the remote computer
- execute any file on the remote computer
- the remote desktop session where i can control the mouse and keyboard on the remote computer
I'm oppened to suggestions in developing this program.
here are some screenshots:
http://img367.imageshack.us/img367/3...board017hh.jpg
http://img519.imageshack.us/img519/4...board025fy.jpg
(hope u like it )
-
Apr 18th, 2006, 08:49 AM
#13
Fanatic Member
Re: Remote Desktop
That looks suspiciously like Netbus.. hehe.
-
Apr 29th, 2006, 12:46 AM
#14
New Member
Re: Remote Desktop
can anyone post the source for it?
-
May 18th, 2006, 11:16 PM
#15
New Member
Re: Remote Desktop
Hi
Im Trying to do Remote Desk top Programm for me....can you help me in this matter...im fresh programmer, if anything then pls send me the code...on
[email protected].......
thanks for your help...
Bye
Nilesh
-
May 25th, 2006, 01:42 AM
#16
PowerPoster
Re: Remote Desktop
Take a look at this VNC Clone DLL .. i got it to work pretty good, didnt do much else with it, was slower than Ultra VNC but still worked ..
http://www.veridicus.com/tummy/programming/vncx/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|