Solved

Auto start application when OS Starts

Posted on 2003-12-05
10
277 Views
Last Modified: 2010-05-01
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
Comment
Question by:anand2k
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 100 total points
ID: 9880900
You need to meddle with the registry
http://www.freevbcode.com/ShowCode.Asp?ID=4993

hongjun
0
 
LVL 33

Expert Comment

by:hongjun
ID: 9880904
0
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 9880918
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
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 9880922
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 26

Expert Comment

by:EDDYKT
ID: 9881939
0
 
LVL 33

Expert Comment

by:hongjun
ID: 10307411
points to hongjun
0
 
LVL 1

Author Comment

by:anand2k
ID: 10380783
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
 
LVL 1

Author Comment

by:anand2k
ID: 10380786
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
 
LVL 1

Author Comment

by:anand2k
ID: 10380794
What to do man! :-(
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now