Hi,
I need to create a way to have a stand alone exectuable app created in VB, or maybe C++, with a WebBrowser control that will automatically navigate to a specified PHP script, and execute that script. The app should run entirely in the background with no visible form(s) and be activated by the Windows Task Scheduler.
The trick here is that I need to automatically terminate the program after the PHP script has finished executing. What kind of signal can I pass from the script to the program to tell it to terminate, and how would I code the VB app to accept a variable being passed into it from outside the application?
If I can kill the program with VB script or JavaScript, then I can easily end the PHP tag, and open a VB or Java script tag in the web page. Just not sure what the call would be..
Any suggestions?
Thanks,
David
I need to create a way to have a stand alone exectuable app created in VB, or maybe C++, with a WebBrowser control that will automatically navigate to a specified PHP script, and execute that script. The app should run entirely in the background with no visible form(s) and be activated by the Windows Task Scheduler.
The trick here is that I need to automatically terminate the program after the PHP script has finished executing. What kind of signal can I pass from the script to the program to tell it to terminate, and how would I code the VB app to accept a variable being passed into it from outside the application?
If I can kill the program with VB script or JavaScript, then I can easily end the PHP tag, and open a VB or Java script tag in the web page. Just not sure what the call would be..
Any suggestions?
Thanks,
David