473,385 Members | 1,275 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,385 software developers and data experts.

Job Initiation

Hi y'all,

How do I notify the system that a job is to be started up immediately upon
reboot but only one time.

SpyBot does this. When it finds trash it cannot remove, it can run first on
a reboot allowing it to get to trash before it executes.

It's a technique I may be able to exploit with a C# program I am working on.

Thanx,
Bill
Nov 16 '05 #1
3 1063
Could you not do this by having the application add itself to the relevant
startup registry key and upon it's next execution simply remove itself from
the registry?

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============
"web1110" <we***@comcast.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi y'all,

How do I notify the system that a job is to be started up immediately upon
reboot but only one time.

SpyBot does this. When it finds trash it cannot remove, it can run first on a reboot allowing it to get to trash before it executes.

It's a technique I may be able to exploit with a C# program I am working on.
Thanx,
Bill

Nov 16 '05 #2
Thanks, I understand what you say - can you provide some details - this is
an area I haven touched recently, and in the past, I have have been known to
screw up a registry or two. Plus, I am sure C# has some clever tools to
facilitate this.

Thanx again,
Bill

"Mark Broadbent" <no************@no-spam-please.com> wrote in message
news:ub**************@TK2MSFTNGP12.phx.gbl...
Could you not do this by having the application add itself to the relevant
startup registry key and upon it's next execution simply remove itself from the registry?

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============
"web1110" <we***@comcast.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi y'all,

How do I notify the system that a job is to be started up immediately upon reboot but only one time.

SpyBot does this. When it finds trash it cannot remove, it can run
first on
a reboot allowing it to get to trash before it executes.

It's a technique I may be able to exploit with a C# program I am working

on.

Thanx,
Bill


Nov 16 '05 #3
it would probably be better for you to search through documentation to find
the class that allows you to write to registry -cos Id have to do same
(never done it before either)

seems to be loads of stuff relating to this subject (probably most not C#)
but this url willl give you the idea of what keys to use

http://www.windowsdevcenter.com/pub/...rtup_0401.html

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============
"web1110" <we***@comcast.net> wrote in message
news:eO****************@tk2msftngp13.phx.gbl...
Thanks, I understand what you say - can you provide some details - this is an area I haven touched recently, and in the past, I have have been known to screw up a registry or two. Plus, I am sure C# has some clever tools to
facilitate this.

Thanx again,
Bill

"Mark Broadbent" <no************@no-spam-please.com> wrote in message
news:ub**************@TK2MSFTNGP12.phx.gbl...
Could you not do this by having the application add itself to the relevant
startup registry key and upon it's next execution simply remove itself

from
the registry?

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============
"web1110" <we***@comcast.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi y'all,

How do I notify the system that a job is to be started up immediately upon reboot but only one time.

SpyBot does this. When it finds trash it cannot remove, it can run

first
on
a reboot allowing it to get to trash before it executes.

It's a technique I may be able to exploit with a C# program I am

working on.

Thanx,
Bill



Nov 16 '05 #4

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

Similar topics

0
by: damiaotomas | last post by:
Hi I'm trying to write a c++ code in which I create a matrix (no randomly), and compare every row of this matrix with a vector x in order to find the distance of every row related to the vector....
8
by: Sebastian Werner | last post by:
Howdy, I currently develop the javascript toolkit qooxdoo (http://qooxdoo.sourceforge.net), some of you heard it already. We have discovered a slowdown on Internet Explorers performance when...
6
by: SF RVN | last post by:
Hmmmm.. a wee bit of a problem: Background default.htm has a left-aligned table serving as a 'navigation menu' and a right-aligned iFrame (named 'viewframe') serving as the 'target' for...
7
by: Michael Chong | last post by:
I wrote a program that communicate with SerialComm. In every 300 milliseconds, my program continuously send & receive data via the serial port once the program starts. My program is once in a...
1
by: Mad Scientist Jr | last post by:
I don't know how this is happening, but a dropdown control I have is resetting to the 2nd value on the list anytime a postback occurs. I have no initiation code outside of If Not (IsPostBack) ...
4
by: Nathaniel Sherman | last post by:
Alright, folks, here's the deal... I'm working on migrating a classic ASP website to an ASP.NET codebase. At the heart of the site is a MySQL database. To make sure an "in-process" program...
4
by: windandwaves | last post by:
Hi Folk Have a look at http://www.corstorphine.co.nz/_quiz/quiz.php Onload I do this: function load_images() {
0
by: Vijay | last post by:
Prep Courses for International Certifications, CSTE & CSQA & ISEB & ISTQB &Business Analyst & SOA Certifications in HYDERABAD. After receiving overwhelming response to our last 50+ batches, ...
5
by: kiryazev | last post by:
Hello. Given the code below does C++ Standard guarantee that the function my_init() will be called before main()? struct A { A() { my_init(); } };
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.