Click here to Skip to main content
15,867,965 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I am developing an application that basically mimics RM Tutor, but a remote version over a network (I suggest you Google RM Tutor so you get my context).

The part that I'm having trouble with is the part where you can view client screens.
I posted something like this on DreamInCode and some nasty people flagged it as spyware;
I assure you this is just copying something legal. The reason I need to make my own version is because I am placing in some of my own functions.

So, now for the problem.

When the client application (sending screenshots) goes out of focus, no longer are screenshots sent. This is very frustrating as it holds up the whole project, which has Teacher-Student messaging capabilities.

Could anyone please suggest a reason as to why the client application does not send when not in focus?
It should constantly send screenshots regardless of the focused application.

Thanks very much and please don't flag as spyware as it isn't! :)
Posted
Comments
Chris Reynolds (UK) 14-Feb-13 10:29am    
What triggers your client application to send screenshots - is it on a timer? Without knowing a little more about how your application is constructed it is hard to help. Also if you want us to help you it is better for you to describe RM Tutor rather than asking us to google it - everybody's time is precious and it is you who want the help.
[no name] 16-Feb-13 6:01am    
ok, i understand.

When the client app starts up, the screenshots are translated to a base64 string and messaged to the host through the network on a timer of 500 milliseconds. On the host MessageReceived event, the base64 string is translated to an image and displayed in a picturebox.

However, this only works if the client application is in focus, but i should be able to view the screen regardless of the focused application (background app)

Thanks-and RM Tutor basically does what this app does, but it's not remote, it uses ethernet cables.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900