Click here to Skip to main content
15,908,015 members
Home / Discussions / C#
   

C#

 
GeneralRe: Lapse in Window Service Pin
Pete O'Hanlon24-Jan-08 16:01
mvePete O'Hanlon24-Jan-08 16:01 
GeneralRe: Lapse in Window Service Pin
Member 78161024-Jan-08 18:38
Member 78161024-Jan-08 18:38 
GeneralRe: Lapse in Window Service Pin
Vikram A Punathambekar24-Jan-08 19:59
Vikram A Punathambekar24-Jan-08 19:59 
GeneralRe: Lapse in Window Service Pin
Pete O'Hanlon24-Jan-08 22:19
mvePete O'Hanlon24-Jan-08 22:19 
GeneralRe: Lapse in Window Service Pin
Member 78161024-Jan-08 23:24
Member 78161024-Jan-08 23:24 
QuestionMake a program run at startup? Pin
methhoo24-Jan-08 11:34
methhoo24-Jan-08 11:34 
GeneralRe: Make a program run at startup? Pin
Jimmanuel24-Jan-08 12:32
Jimmanuel24-Jan-08 12:32 
QuestionRe: Make a program run at startup? Pin
methhoo25-Jan-08 4:48
methhoo25-Jan-08 4:48 
ok, but when I open the registry part in the setup project, tree-view on the left shows registry but narrows down only to :

H_KEY_CURRENT_USER -> Software -> [Manufacturer]

while I somehow must create the key in the following path, as we talked about earlier :

H_KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

I'm not familiar with registry stuff so I'm stuck at this point

On the other hand, some friends said I could put a shortcut to my application's exe file into the Users Startup Folder using Setup Project.
This method seems to be working but to avoid the autostart, I shall delete this shortcut when user doesn't want so. This brings me two other problems as:

1) Startup path is
C:\Documents and Settings\[username]\Start Menu\Programs\Startup
but how can I get the username? D'Oh! | :doh:

2) I dont even know how to make a shortcut. I only know File.Rename, File.Exists and File.Delete

I would be too glad if you help me out in either scenarios.
GeneralRe: Make a program run at startup? Pin
Jimmanuel25-Jan-08 6:20
Jimmanuel25-Jan-08 6:20 
QuestionRe: Make a program run at startup? Pin
methhoo25-Jan-08 7:12
methhoo25-Jan-08 7:12 
GeneralRe: Make a program run at startup? Pin
Jimmanuel25-Jan-08 7:39
Jimmanuel25-Jan-08 7:39 
GeneralRe: Make a program run at startup? Pin
methhoo25-Jan-08 7:45
methhoo25-Jan-08 7:45 
GeneralRe: Make a program run at startup? Pin
methhoo25-Jan-08 7:55
methhoo25-Jan-08 7:55 
GeneralRe: Make a program run at startup? Pin
Jimmanuel25-Jan-08 7:59
Jimmanuel25-Jan-08 7:59 
GeneralRe: Make a program run at startup? Pin
J a a n s24-Jan-08 20:59
professionalJ a a n s24-Jan-08 20:59 
QuestionRe: Make a program run at startup? Pin
methhoo25-Jan-08 4:58
methhoo25-Jan-08 4:58 
Generalselecting table adapters in datasets Pin
Glen Harvy24-Jan-08 11:15
Glen Harvy24-Jan-08 11:15 
GeneralRe: selecting table adapters in datasets Pin
Gareth H24-Jan-08 11:37
Gareth H24-Jan-08 11:37 
GeneralRe: selecting table adapters in datasets Pin
Glen Harvy24-Jan-08 13:23
Glen Harvy24-Jan-08 13:23 
QuestionPrint multiple copies of a page? Pin
DaleEMoore24-Jan-08 10:49
DaleEMoore24-Jan-08 10:49 
GeneralRe: Print multiple copies of a page? Pin
Gareth H24-Jan-08 10:59
Gareth H24-Jan-08 10:59 
GeneralRe: Print multiple copies of a page? Pin
DaleEMoore24-Jan-08 11:22
DaleEMoore24-Jan-08 11:22 
GeneralRe: Print multiple copies of a page? Pin
DaleEMoore24-Jan-08 11:30
DaleEMoore24-Jan-08 11:30 
QuestionIssue using .dll in Program vs Service Pin
abupsman24-Jan-08 9:43
abupsman24-Jan-08 9:43 
GeneralRe: Issue using .dll in Program vs Service Pin
Luc Pattyn24-Jan-08 10:15
sitebuilderLuc Pattyn24-Jan-08 10:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.