Auto start application when OS Starts

hi

I want to start my application when Operating system starts.

My restrictions
 1. Not to create Shotcut in StartUp.
 2. No Task Shedular to use
 3. No entry in Autoexec.bat

I want to start my app like SQL Server 7 DB service starts, like checkbox "AutoStart when OS Starts"

Any suggestions/APIs etc

pls note that I want to run this application on Window 95/98/NT/2k Prof/2k Server/XP/ME, in short on all Windows OS.

And I am very low at registery handling..

THx
Anand


LVL 1
anand2kAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hongjunCommented:
You need to meddle with the registry
http://www.freevbcode.com/ShowCode.Asp?ID=4993

hongjun
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hongjunCommented:
0
LowfatspreadCommented:
Hi anand2k,
yep registry editing is the way..

but you could always try creating a bat file with the start command you want
and then set the hidden attribute on the bat file before copying that into the

C:\Documents and Settings\All Users\Start Menu\Programs\Startup


Cheers!
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

LowfatspreadCommented:
0
EDDYKTCommented:
0
hongjunCommented:
points to hongjun
0
anand2kAuthor Commented:
definately hongjun!

Congrates.

Actually, the delay is because i joined a new company in different city.

But one thing i want to bring to ur attention that THe solution does not work on Windows XP. There is some difference. I do not get that, c if u can do anything.


THx
Anand
0
anand2kAuthor Commented:
definately hongjun!

Congrates. I have given full points with Good rating. It was very spontenious answer.

Actually, the delay is because i joined a new company in different city.

But one thing i want to bring to ur attention that THe solution does not work on Windows XP. There is some difference. I do not get that, c if u can do anything.


THx
Anand
0
anand2kAuthor Commented:
What to do man! :-(
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.