java
sql
html
iphone
c
linux
android
ruby-on-rails
regex
multithreading
silverlight
flash
html5
json
algorithm
oracle
cocoa
apache
jsp
dom
Have a look at the following location in the registry:
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
You can use TRegistry to add entries here.
hey try this code to start your application on the next startup
procedure RunOnStartupHKCU(const sCmdLine: string;) ; var sKey : string; Section : string; ApplicationTitle : string; begin ApplicationTitle:='myApplication'; sKey := 'Once' Section := 'Software\Microsoft\Windows\CurrentVersion\Run' + sKey + #0; with TRegIniFile.Create('') do try RootKey := HKEY_CURRENT_USER; WriteString(Section, ApplicationTitle, sCmdLine) ; finally Free; end; end;
To call the it use this
sAppNam:=Application.ExeName; RunOnStartupHKCU(sAppNam) ;