• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 675
  • Last Modified:

continuous screen capture

how can i capture screen of a remote computer in a continous way so that i can see what is happing on the remote computer? like in VNC ..
0
drunkenlogic
Asked:
drunkenlogic
  • 9
  • 9
  • 2
  • +1
11 Solutions
 
rsripracCommented:
What is wrong with VNC?  If you could set VNC up, then you could remotly view desktop.  You could also "record" desktop by using:

http://www.unixuser.org/~euske/vnc2swf/

It will capture the stream into a flash file.

-Ram
0
 
rsripracCommented:
You could also do the same, run VNC to connect to the remote screen and use any desktop capturing software out there.  Search on google.com for "desktop recording".

-Ram
0
 
drunkenlogicAuthor Commented:
i have vnc but i want to do it in vb.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
rsripracCommented:
0
 
brettmjohnsonCommented:
> i have vnc but i want to do it in vb.

"I have a perfectly functional screwdriver, but I want to drive this screw with a pipewrench..."

One of the fundamental skills of the professional software engineer is to choose the right tool for the job.

0
 
rsripracCommented:
I'm trying to help, I figure that you could use ActiveX object (http://www.veridicus.com/tummy/programming/vncx/) and write a wrapper class.  There isn't too many APIs out there, so I usually try to get more creative unless you want to reinvent the wheel.

Another option is, you start reading the VPN protocol, understand it, and write your own recorder from the VPN feed.

And as for your "I have a perfectly functional screwdriver..."  comment, I'll just assume you have it all figured then.  You make it seem like you know what your doing since your tell me about "fundamental skills".

-Ram
0
 
drunkenlogicAuthor Commented:
MY REPLY TO
"I have a perfectly functional screwdriver..." COMMENT

MY IDEA IS TO LEARN HOW TO DO SCREEN CAPTURING OF REMOTE COMPUTERS !!!!!

 OK SOME ELSE CAN DO IT FOR YOU IT IS GOOD BUT IF YOU CAN DO IT FOR YOURSELF IT IS BETTER!!!
0
 
rsripracCommented:
Sure, but in my opinion and my many years of experince of programming, it is better to reuse code that has will mature then to re-invent the wheel.  Doing it yourself does not at all imply it is better.  I find programs that has been around long tends to be more refined and well developed then newer software.

Also by using already developed concepts (vnc, etc) also does not imply that you don't learn anything from it because it still will take tons of time intergrading existing code.  It more of an idea of building on top of VNC foundation then develope the foundation and all.  Anyhow, just my two cents.  Sure, do whatever pleases you and good luck with your project.

-Ram
0
 
drunkenlogicAuthor Commented:
OK LET US DIVIDE THE ABOVE PROBLEM
(1) CAPTURE THE SCREEN

(2) CREATE THE IMAGE FILE
(3) SEND THE IMAGE FILE
(4) SHOW THE IMAGE FILE
0
 
drunkenlogicAuthor Commented:
SORRY

OK LET US DIVIDE THE ABOVE PROBLEM
(1) CAPTURE THE SCREEN
         can be done using win API getdesktopdc etc....
(2) CREATE THE IMAGE FILE
        can be done using savepicture function of the picture  
(3) SEND THE IMAGE FILE
       send file using winsock ....
(4) SHOW THE IMAGE FILE
      load the pictur file in the picture file


THE ABOVE FUNCTIONS MAKE THE WHOLE PROCESS VERY SLOW

WHAT I CAN DO IS

(1) CAPTURE THE SCREEN
         can be done using win API getdesktopdc etc....


(2) SEND THE BINARY CAPTURE INFORMATION
(3) SHOW THE BINARY INFORMATION

HOW CAN I DO THE LAST TWO??
0
 
rsripracCommented:
Whats the capture frame-rate (per second/minute) you are expecting?

-Ram
0
 
rsripracCommented:
Also, could you give me more details about 'getdesktopdc' API?  A pointer to areference guide would be good since I am not fond with.  I search google for 'getdesktopdc' and didn't find many result.

Thanks,

-Ram
0
 
drunkenlogicAuthor Commented:
AT LEAST 2 FRAMES PER SECOND
0
 
drunkenlogicAuthor Commented:
HI RAM DO YOU HAVE A YAHOO ID IF U ARE ONLINE NOW
0
 
drunkenlogicAuthor Commented:
sorry its not getdesktopdc it is getdesktopwindow which returns a handle to window
then we have to create a compatile dc to a picture box. and copy the image in the handle to the new compatible dc.
0
 
brettmjohnsonCommented:
> THE ABOVE FUNCTIONS MAKE THE WHOLE PROCESS VERY SLOW

VNC (and similar utilities) do not send whole screens at a time down the wire.
They send "key" frames (the whole image), followed by "deltas" small regions
of the screen that have changed since the last transmission.  On the client side,
the deltas are "composited" back into the the image.

Since performance is paramount when transmitting this quantity of data,
such utilities rarely use an interpreted language with no bit-level operations,
such as Visual Basic.  It is just not designed to handle these types of tasks.


> HI RAM DO YOU HAVE A YAHOO ID IF U ARE ONLINE NOW

EE doen't permit side-band communications, since such communications are
not captured for the future benefit of others.
0
 
Jaime OlivaresSoftware ArchitectCommented:
Read this article about many methods for capturing screens at:
http://www.codeproject.com/dialog/screencap.asp
0
 
drunkenlogicAuthor Commented:
to brettmjohnson
" "deltas" small regions
of the screen that have changed since the last transmission"
you told me what to do could you tell me how i can perform it. YOU ARE GIVING ME  PROBLEMS  AND I WANT SOLUTIONS.


"no bit-level operations,
such as Visual Basic."

well i can do bit level operations using win API.
0
 
rsripracCommented:
Hey drunkenlogic,

I think you should cut use helpers some slack.  We are giving you some idea to help you think and hopefully get your project going.  We are giving you solutions, but some solution to a problems comes in parts at time.  Do not expect us to write you a complete code or anything since what you are asking is a lot of work.

-Ram
0
 
drunkenlogicAuthor Commented:
to ram ,that comment was for  brettmjohnson  
0
 
rsripracCommented:
What was the solution?  I was think about it some more, and I am not too sure how to go about it.  Like if you decide to do the screen capture way, there is really no way to detect changes.  So you would have to take a full screen snapshot and send it everytime.

So the capture goes something like:

http://www.devx.com/vb2themax/Tip/19172

convert to binary and send via TCP/IP or UDP simularly to:

http://www.netalive.org/codersguild/posts/2237.shtml

I hope this helps a bit.

-Ram
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 9
  • 9
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now