Articles   Members Online:
-Article/Tip Search
-News Group Search over 21 Million news group articles.
-Delphi/Pascal
-CBuilder/C++
-C#Builder/C#
-JBuilder/Java
-Kylix
Member Area
-Home
-Account Center
-Top 10 NEW!!
-Submit Article/Tip
-Forums Upgraded!!
-My Articles
-Edit Information
-Login/Logout
-Become a Member
-Why sign up!
-Newsletter
-Chat Online!
-Indexes NEW!!
Employment
-Build your resume
-Find a job
-Post a job
-Resume Search
Contacts
-Contacts
-Feedbacks
-Link to us
-Privacy/Disclaimer
Embarcadero
Visit Embarcadero
Embarcadero Community
JEDI
Links
How to make your application run on Windows startup. Turn on/off line numbers in source code. Switch to Orginial background IDE or DSP color Comment or reply to this aritlce/tip for discussion. Bookmark this article to my favorite article(s). Print this article
Make your app run durning startup. 27-Jan-04
Category
System
Language
Delphi All Versions
Views
549
User Rating
7.25
# Votes
4
Replies
0
Publisher:
Darley, F. Joe
Reference URL:
			1   
2   uses Registry
3   
4   var
5     sKey : string;
6     reg  : TRegIniFile;
7     sLoc :sting
8   begin
9     sLoc:=application.exename;
10    sKey:=application.title
11    reg := TRegIniFile.Create( '' );
12    reg.RootKey := HKEY_LOCAL_MACHINE;
13    reg.WriteString('Software\Microsoft\Windows\CurrentVersion\Run'+ sKey ,sloc);
14    reg.Free;
15  end;


			
Vote: How useful do you find this Article/Tip?
Bad Excellent
1 2 3 4 5 6 7 8 9 10

 

Advertisement
Share this page
Advertisement
Download from Google

Copyright © Mendozi Enterprises LLC