Solved

Auto start application when OS Starts

Posted on 2003-12-05
10
278 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 50

Expert Comment

by:Lowfatspread
ID: 9880922
0
 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access Search and Replace Using VBA 6 70
How to debug this code 7 61
Microsoft Access combo box help 2 44
Formula problem with Excel attachment 6 26
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

786 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