Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
can someone tell me how can i show icon of my desktop application in taskbar when system reboots .at present my taskbat icon appears when i double click my desktop shortcut icon then my application starts and then icon comes in taskbar and disappears when my system is restarted .again i have to double click my desktop shortcut icon then it comes in taskbar.
how can my desktop application be started automatically after window is rebooted so that icon comes automatically in taskbar,
Posted 24-Jul-12 4:18am
Comments
idle63 at 24-Jul-12 9:33am
   
How is about put a shortcut to your application in the windows autostart folder?
N.B: This starts your application after windows login.
Wes Aday at 24-Jul-12 9:40am
   
You should post this as a possible solution. Other possible solution is the Run key in registry.
gaurav786mishra at 25-Jul-12 6:11am
   
Yup idle 63 ...it worked thank you..
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There are two Windows registry keys that could help your issue.
 
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
AND
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
 
One key only runs the command one time and the other runs it every time. So if you want your program to start every time, use the "Run" key.
 
Once you're in the registry, Create a new String. The name should be descriptive of your application, and the data/value should be the full path to start your application.
 
Hogan
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

put a shortcut to your application in the windows autostart folder? N.B: This starts your application after windows login.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 515
1 Maciej Los 349
2 Richard MacCutchan 220
3 BillWoodruff 209
4 Mathew Soji 160
0 OriginalGriff 8,654
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,229
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 25 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100