Results 1 to 16 of 16

Thread: Remote Desktop

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    14

    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?

  2. #2
    New Member
    Join Date
    Mar 2006
    Posts
    7

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    14

    Re: Remote Desktop

    My connection is 512Kb. I'm gonna try this method and see how it works. (have to fix some bugs first).

  4. #4
    New Member
    Join Date
    Mar 2006
    Posts
    7

    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

  5. #5
    New Member
    Join Date
    Mar 2006
    Posts
    3

    Re: Remote Desktop

    How do you control the keyboard on remote system?

  6. #6
    New Member
    Join Date
    Mar 2006
    Posts
    7

    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.

  7. #7
    New Member
    Join Date
    Mar 2006
    Posts
    3

  8. #8
    New Member
    Join Date
    Mar 2006
    Posts
    7

    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.

  9. #9
    New Member
    Join Date
    Mar 2006
    Posts
    3

    Re: Remote Desktop

    Are you talking about something like a DLL File? I think that will be sort of complex.

  10. #10
    New Member
    Join Date
    Mar 2006
    Posts
    7

    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.

  11. #11
    Addicted Member Vegeta's Avatar
    Join Date
    Jul 2002
    Posts
    159

    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.

  12. #12

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    14

    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 )

  13. #13
    Fanatic Member
    Join Date
    Sep 2000
    Posts
    770

    Re: Remote Desktop

    That looks suspiciously like Netbus.. hehe.

  14. #14
    New Member
    Join Date
    Apr 2006
    Posts
    4

    Re: Remote Desktop

    can anyone post the source for it?

  15. #15
    New Member
    Join Date
    May 2006
    Posts
    1

    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

  16. #16
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

    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
  •  



Click Here to Expand Forum to Full Width