Hi,
I have created a project in Visual Basic 6, and the goal of this program was to automatically run (one at a time), files that I specified in a directory. Once it ran the application (using the shell command), I found the HWND values of the buttons such as 'I Agree', 'I Disagree',
Next >, and so on.
It seemed to be working fine, but after it ran the first two applications and completed them with the auto-button press functions (these are patches for WindowsXP by the way), it tried to run the third one, but it wouldn't run. I could see it attempt to run it, but it would never come up.
After that I would have to reboot my computer in order to run the other patches manually.
The wierd thing is that if I do it all by hand, it has no fault. All of the patches run fine and I never have to restart.
In my program I had functions to make sure it wasn't giving commands if the window had not popped up yet, or if the buttons hadn't been enabled yet.
Can anyone help me figure out why it is doing this? Any feedback would be greatly appreciated.
Thank you,
Travis
I have created a project in Visual Basic 6, and the goal of this program was to automatically run (one at a time), files that I specified in a directory. Once it ran the application (using the shell command), I found the HWND values of the buttons such as 'I Agree', 'I Disagree',
Next >, and so on.
It seemed to be working fine, but after it ran the first two applications and completed them with the auto-button press functions (these are patches for WindowsXP by the way), it tried to run the third one, but it wouldn't run. I could see it attempt to run it, but it would never come up.
After that I would have to reboot my computer in order to run the other patches manually.
The wierd thing is that if I do it all by hand, it has no fault. All of the patches run fine and I never have to restart.
In my program I had functions to make sure it wasn't giving commands if the window had not popped up yet, or if the buttons hadn't been enabled yet.
Can anyone help me figure out why it is doing this? Any feedback would be greatly appreciated.
Thank you,
Travis