Solved

Auto start application when OS Starts

Posted on 2003-12-05
10
276 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
Comment Utility
You need to meddle with the registry
http://www.freevbcode.com/ShowCode.Asp?ID=4993

hongjun
0
 
LVL 33

Expert Comment

by:hongjun
Comment Utility
0
 
LVL 50

Expert Comment

by:Lowfatspread
Comment Utility
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
Comment Utility
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 26

Expert Comment

by:EDDYKT
Comment Utility
0
 
LVL 33

Expert Comment

by:hongjun
Comment Utility
points to hongjun
0
 
LVL 1

Author Comment

by:anand2k
Comment Utility
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
Comment Utility
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
Comment Utility
What to do man! :-(
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

743 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

16 Experts available now in Live!

Get 1:1 Help Now