Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

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


0
anand2k
Asked:
anand2k
  • 3
  • 3
  • 2
  • +1
1 Solution
 
hongjunCommented:
You need to meddle with the registry
http://www.freevbcode.com/ShowCode.Asp?ID=4993

hongjun
0
 
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now