Norseman
07-17-2009, 10:15 AM
Hey all,
Recently I've been trying to automate logging into a Remote Desktop Connection and have been having really limited, and inconsistent, results. I've tried using Ranorex to get the forms and controls to click, but every now and then it just won't find a control for no reason. Sometimes I can click a button 2 or 3 times before it finds the control it should.
So that leads me to my next idea: is there an easy way for me to use a Remote Desktop Connection from code? Basically what I want to do is remote connect to another PC and run an application I have on that machine. It sounds like something pretty simplistic, but it's been a huge headache. So far anything I've found dealing with Remote Desktop in code is tons of forms, controls, and components. I really don't want this to turn into a huge project, I just need to run a simple .exe on a client machine.
Thanks in advance for any help!
Recently I've been trying to automate logging into a Remote Desktop Connection and have been having really limited, and inconsistent, results. I've tried using Ranorex to get the forms and controls to click, but every now and then it just won't find a control for no reason. Sometimes I can click a button 2 or 3 times before it finds the control it should.
So that leads me to my next idea: is there an easy way for me to use a Remote Desktop Connection from code? Basically what I want to do is remote connect to another PC and run an application I have on that machine. It sounds like something pretty simplistic, but it's been a huge headache. So far anything I've found dealing with Remote Desktop in code is tons of forms, controls, and components. I really don't want this to turn into a huge project, I just need to run a simple .exe on a client machine.
Thanks in advance for any help!