473,396 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Add application to Windows Task Scheduler from VB6

We have developed an application in VB6 (say AA.exe). We wish to
schedule the execution of this application (AA.exe) through Windows
Task Scheduler.

Is there a way through which we can add this application (AA.exe) to
Task Scheduler by using another application (say BB.exe), which is
also developed using VB6? The operating systems can be Windows 2000,
Windows XP or any later version of Windows...

We also wish that whenever the second application (BB.exe) would run
it should always check the scheduling of first application (AA.exe) in
Task Scheduler and if it finds that someone has disabled its (AA.exe)
execution or removed it, then it should be added to Task Scheduler
again.

A reference to any sample available in VB6 will be highly appreciated.

Thanks & Regards

Faiz
Jul 17 '05 #1
1 9638
On 30 Jan 2004 03:51:52 -0800, it******@hotmail.com (Faiz) wrote:
We have developed an application in VB6 (say AA.exe). We wish to
schedule the execution of this application (AA.exe) through Windows
Task Scheduler.

Is there a way through which we can add this application (AA.exe) to
Task Scheduler by using another application (say BB.exe), which is
also developed using VB6? The operating systems can be Windows 2000,
Windows XP or any later version of Windows...

We also wish that whenever the second application (BB.exe) would run
it should always check the scheduling of first application (AA.exe) in
Task Scheduler and if it finds that someone has disabled its (AA.exe)
execution or removed it, then it should be added to Task Scheduler
again.

A reference to any sample available in VB6 will be highly appreciated.


Have a look in your Win32 Programmer's Reference at NetScheduleJobAdd

Also this Forum's thread looks interesting - follow it down a bit

http://tinyurl.com/2p4kh

HTH
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Eric | last post by:
I'm trying to have some scripts run periodically on Windows XP and found the "Task Scheduler" did not execute my scripts. My scripts are of the form scriptName.py, and will run just by invoking that...
4
by: Christina | last post by:
Dear All, How can I pop up the windows task scheduler inside of my .net application? Such as I have a button called Schedule Now, after clicking it, the Add Scheduled Task window will pop up,...
3
by: Lenn | last post by:
Hi, I developed a console .exe application which is going to run on scheduled basis, it will be scheduled to run in Windows Scheduled tasks. Client wants some kind of utility that would help them...
11
by: Max | last post by:
I'm writing a program that needs to be able to create custom .job files and add them to the scheduled tasks folder. What I'd like to know is, what is the format of a .job file and how do I go about...
3
by: Nicol | last post by:
Hi, I have created a console application in c#.net. I also scheduled it in the windows scheduler. In the scheduled task i will specify the command line arguments. When I say "Run", I am getting...
4
by: Dinsdale | last post by:
I'm looking at adding scheduling features to an application and I wanted to ask the community about any experience with scheduling components, either open source like from code project or from a...
7
by: hgirma | last post by:
Hello Gurus, Is it possible to schedule a task to run an application deployed using ClickOnce? The executable changes location with each update.. and if i were to run the executable directly,...
1
by: kplkumar | last post by:
Hi all I am fairly new to windows scheduler. I have an .exe console application that needs to be run 1st of every month. I created a scheduled task in Windows Schduler and called the .exe.
1
by: Cupric | last post by:
I have a python script that runs fine from the command line or from within IDLE, but doesn't work through the Vista Task Scheduler. The script downloads some csv files and then uses pywin32 to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.