المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : control mouse and keyboard of remote machine.



C# Programming
02-19-2010, 02:40 AM
i have already developed a app which will run in two machine and send the screen shot of machine 1 to machine 2 and i am showing the scree shot of machine 1 on the picturebox through a application which is running in machine 2. so now i want to control mouse and keyboard of machine 1 programatically.
so i need concept. i have some idea like whenever i will move my mouse & click on picture box then i will just send some info like mouse move cordinate and click to the app which is running in machine 1. then machine 1 will move the mouse pointer to the ******** & click according to my info.

but the problem is if i send the mouse cordinate then two machine may have different resolution. in this case how could i handle this situation.
suppose if i send mouse move cordinate and click then how could i place mouse pointer on right object if machine 1 have different resolution.

so please help me with idea & sample code.

thanks in advance.tbhattacharjee