I need to automate a data processing application on a remote PC such that it can be launched from the Windows XP scheduler.
The program is written in VB6. It works fine when I run it manually - but I need to automate it. I have tried running the data processing code from "form_load" but it won't run. I think this is because it is linked to several databases and these need to load before the application can run. I have tried writing another program to open the first program and use "SendKeys" function to press the required button. However, "SendKeys" won't work unless I am logged on through the Remote Desktop Connection.
I either need to 1) fully automate the code so that no keypress is necessary or to 2) find a way to automate the "SendKeys" function when I am not logged on remotely.
Can anybody suggest a way that I might get this to work?
DeGeneral
The program is written in VB6. It works fine when I run it manually - but I need to automate it. I have tried running the data processing code from "form_load" but it won't run. I think this is because it is linked to several databases and these need to load before the application can run. I have tried writing another program to open the first program and use "SendKeys" function to press the required button. However, "SendKeys" won't work unless I am logged on through the Remote Desktop Connection.
I either need to 1) fully automate the code so that no keypress is necessary or to 2) find a way to automate the "SendKeys" function when I am not logged on remotely.
Can anybody suggest a way that I might get this to work?
DeGeneral