I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts 1
minute after the user has logged in.
I previously did this with a sleep at the first row of the source code,
but this makes the process visible in the task manager's processes tab
during the sleep (before the "real application" is actually running),
and I dont want that.
Can I somehow schedule the start of the application, either via a
command line tool or from code (c#) or in some other way? 8 1945
A batch file, with a pause. ?
"Marcus" <ma************@koping.netwrote in message
news:11**********************@14g2000cws.googlegro ups.com...
I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts 1
minute after the user has logged in.
I previously did this with a sleep at the first row of the source code,
but this makes the process visible in the task manager's processes tab
during the sleep (before the "real application" is actually running),
and I dont want that.
Can I somehow schedule the start of the application, either via a
command line tool or from code (c#) or in some other way?
Thanks for answering...
but doesn't the pause command demand interaction from the user, Like
"press any key to continue"? If that is the case then I can not use
that.
DL skrev:
A batch file, with a pause. ?
"Marcus" <ma************@koping.netwrote in message
news:11**********************@14g2000cws.googlegro ups.com...
I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts 1
minute after the user has logged in.
I previously did this with a sleep at the first row of the source code,
but this makes the process visible in the task manager's processes tab
during the sleep (before the "real application" is actually running),
and I dont want that.
Can I somehow schedule the start of the application, either via a
command line tool or from code (c#) or in some other way?
How about scheduling the process to run using the "AT" command, and
specify the time you want it to run on the command line, like so:
at 8:01 /interactive notepad.exe
John
Marcus wrote:
I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts 1
minute after the user has logged in.
I previously did this with a sleep at the first row of the source code,
but this makes the process visible in the task manager's processes tab
during the sleep (before the "real application" is actually running),
and I dont want that.
Can I somehow schedule the start of the application, either via a
command line tool or from code (c#) or in some other way?
On 28 Nov 2006 02:18:10 -0800, Marcus wrote:
I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts 1
minute after the user has logged in.
I previously did this with a sleep at the first row of the source code,
but this makes the process visible in the task manager's processes tab
during the sleep (before the "real application" is actually running),
and I dont want that.
Can I somehow schedule the start of the application, either via a
command line tool or from code (c#) or in some other way?
Just write a small stub program that submits an 'AT' command during
startup.
You could even make it generic by having parameters for the pause and
executed application, and setting those in your Program Files/Startup entry
(or your registry Load setting)
I hope you're not asking this for some malicious purpose.
Cheers,
Gadget
This idea with AT command seems to be what I need. I have this big
problem though. I dont have mstask.exe on my win XP pro computer. I
have IE 6 installed also, but no mstask.exe. I dont know how to get
that one. I googled for it about an hour now...
Gadget skrev:
On 28 Nov 2006 02:18:10 -0800, Marcus wrote:
I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts 1
minute after the user has logged in.
I previously did this with a sleep at the first row of the source code,
but this makes the process visible in the task manager's processes tab
during the sleep (before the "real application" is actually running),
and I dont want that.
Can I somehow schedule the start of the application, either via a
command line tool or from code (c#) or in some other way?
Just write a small stub program that submits an 'AT' command during
startup.
You could even make it generic by having parameters for the pause and
executed application, and setting those in your Program Files/Startup entry
(or your registry Load setting)
I hope you're not asking this for some malicious purpose.
Cheers,
Gadget
OK, I missed the /interactive parameter to the AT command.
Now it works (odd, because I cant seem to find mstask.exe anywere on my
drive).
And NO, it is not for some malicious purpose I want to do this. I am
using CPAU to run my application as administrator and somehow CPAU
freezes and doesnt launch my app if It tries to soon after logon (thats
why I want the delay), the app is a parental software that a limited
user should not be able to stop.
I really doesn't want this timing dependency, but I haven't come up
with any other way of doing it.
Thank you all for helping out.
Marcus skrev:
This idea with AT command seems to be what I need. I have this big
problem though. I dont have mstask.exe on my win XP pro computer. I
have IE 6 installed also, but no mstask.exe. I dont know how to get
that one. I googled for it about an hour now...
Gadget skrev:
On 28 Nov 2006 02:18:10 -0800, Marcus wrote:
I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts 1
minute after the user has logged in.
>
I previously did this with a sleep at the first row of the source code,
but this makes the process visible in the task manager's processes tab
during the sleep (before the "real application" is actually running),
and I dont want that.
>
Can I somehow schedule the start of the application, either via a
command line tool or from code (c#) or in some other way?
Just write a small stub program that submits an 'AT' command during
startup.
You could even make it generic by having parameters for the pause and
executed application, and setting those in your Program Files/Startup entry
(or your registry Load setting)
I hope you're not asking this for some malicious purpose.
Cheers,
Gadget
batfile would contain
ping -n 61 127.0.0.1
before the line that starts the program in question, to effect a 60
second delay
Marcus wrote:
OK, I missed the /interactive parameter to the AT command.
Now it works (odd, because I cant seem to find mstask.exe anywere on my
drive).
And NO, it is not for some malicious purpose I want to do this. I am
using CPAU to run my application as administrator and somehow CPAU
freezes and doesnt launch my app if It tries to soon after logon (thats
why I want the delay), the app is a parental software that a limited
user should not be able to stop.
I really doesn't want this timing dependency, but I haven't come up
with any other way of doing it.
Thank you all for helping out.
Marcus skrev:
>>This idea with AT command seems to be what I need. I have this big problem though. I dont have mstask.exe on my win XP pro computer. I have IE 6 installed also, but no mstask.exe. I dont know how to get that one. I googled for it about an hour now...
Gadget skrev:
>>>On 28 Nov 2006 02:18:10 -0800, Marcus wrote:
I have this application I have made that I launch when the user logs into Windows XP. I would like to delay the launch of the application so that it starts 1 minute after the user has logged in.
I previously did this with a sleep at the first row of the source code, but this makes the process visible in the task manager's processes tab during the sleep (before the "real application" is actually running), and I dont want that.
Can I somehow schedule the start of the application, either via a command line tool or from code (c#) or in some other way?
Just write a small stub program that submits an 'AT' command during startup. You could even make it generic by having parameters for the pause and executed application, and setting those in your Program Files/Startup entry (or your registry Load setting)
I hope you're not asking this for some malicious purpose.
Cheers, Gadget
Marcus,
Is there a reason you can't disable access to the Task Manager for the
limited user??
(I'm assuming it's the kids!?)
That would enable you to run your delay in code, using sleep, and not have
the user able to kill it using Task Manager.
____________________________
The Grim Reaper
"Marcus" <ma************@koping.netwrote in message
news:11*********************@14g2000cws.googlegrou ps.com...
OK, I missed the /interactive parameter to the AT command.
Now it works (odd, because I cant seem to find mstask.exe anywere on my
drive).
And NO, it is not for some malicious purpose I want to do this. I am
using CPAU to run my application as administrator and somehow CPAU
freezes and doesnt launch my app if It tries to soon after logon (thats
why I want the delay), the app is a parental software that a limited
user should not be able to stop.
I really doesn't want this timing dependency, but I haven't come up
with any other way of doing it.
Thank you all for helping out.
Marcus skrev:
>This idea with AT command seems to be what I need. I have this big problem though. I dont have mstask.exe on my win XP pro computer. I have IE 6 installed also, but no mstask.exe. I dont know how to get that one. I googled for it about an hour now...
Gadget skrev:
On 28 Nov 2006 02:18:10 -0800, Marcus wrote:
I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts
1
minute after the user has logged in.
I previously did this with a sleep at the first row of the source
code,
but this makes the process visible in the task manager's processes
tab
during the sleep (before the "real application" is actually running),
and I dont want that.
Can I somehow schedule the start of the application, either via a
command line tool or from code (c#) or in some other way?
Just write a small stub program that submits an 'AT' command during
startup.
You could even make it generic by having parameters for the pause and
executed application, and setting those in your Program Files/Startup
entry
(or your registry Load setting)
I hope you're not asking this for some malicious purpose.
Cheers,
Gadget
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Aleksandre Skornitchenko |
last post by:
Hello, All!
How I can connect to non-Microsoft LDAP-server and select record from him ?
With best regards, Aleksandre Skornitchenko.
IT Dept., Togliatti Branch
MegaFon
E-mail:...
|
by: cyshao |
last post by:
Hi, My Friends:
I have a program and I want to let machine automaticly auto it by using
Windows task schedule. Sure, I can manually Create/Modify task in Windows
task schedule. But I also hope...
|
by: greg7224 |
last post by:
I am currently working on a C# project that uses the Janus schedule
controls, and am having trouble getting it to print correctly in Day
view. The problem is that it will not print out the owners...
|
by: pamelafluente |
last post by:
Hi guys!
I want to do a large number of scheduled task (say 80). Each task can
be run at a certain time every given weekday. For instance at 10am and
5pm on each monday, etc.
I would like to...
|
by: sylsau |
last post by:
Hello,
I wrote a JAVA program which uses the JAVA API JDOM 1.0 (of this site
www.jdom.org)
I put the archive jdom.jar in the directory /usr/share/java/jdom.jar
and I added this path in the...
|
by: jmsxp |
last post by:
Hi all,
I am in my infancy with programming, so please forgive stupid
questions...
I am attempting to write a C# program that will launch Trillian (well,
that is just a part of the overall...
|
by: promiscuoustx |
last post by:
I am trying to get my program to compile, but it will not complete. At line 79 it states, cannot convert 'float()()' to 'float' in assignment. Here is my code.
#include <iostream>
#include...
|
by: Marcus |
last post by:
I have this application I have made that I launch when the user logs
into Windows XP.
I would like to delay the launch of the application so that it starts 1
minute after the user has logged in.
...
|
by: jobs |
last post by:
I have a growning list of stored procedures that accept a single string
as a parameter.
The list and parameters are maintained in a table with two columns.
Some of the Stored procedures take...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
| |