It's nice to see that this thread is still alive and active. Thanks Xodus for cleaning up the code a bit, and thanks to Giddo for offering to help.
I also found some references that allow you to access the task scheduler API through a command shell interface using the AT command. This is only...
This code example works just fine at creating a scheduled job in Windows Task Scheduler, but one thing it doesn't do is check to see if the job is already scheduled. So if you wanted to have the ability to change your schedule, then you simply create another job with this code, rather than...
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...
I found a VB example at planet source code. Here's what I found:
Option Explicit
' Schedule api's
Declare Function NetScheduleJobAdd Lib "netapi32.dll" _
(ByVal Servername As String, Buffer As Any, Jobid As Long) As Long
' Schedule structure
Type AT_INFO
JobTime As Long...
That's not exactly what I'm looking for, but thanks.. I looked up the NetScheduleJobAdd() function at msdn, and it appears to be a C++ function. I am using VB 6.0.
I think I did find what I'm looking for though.
Thanks again.
I need to either find the path and file structure/format information that Windows Task Scheduler uses to run Scheduled Tasks so that I can create a file that the Task Scheduler will automatically read and process. Or have an API call to the scheduler from within Visual Basic 6.0 so that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.