|
-
Jul 24th, 2005, 08:00 PM
#1
Thread Starter
Lively Member
run at startup
how i can set my application to run at startup by the code ?
-
Jul 24th, 2005, 08:18 PM
#2
Re: run at startup
It's up to Windows what runs at startup and it is controlled by the Startup folder on the Start Menu and the Run keys in the registry. If you want your app to run at startup you need to either create a shortcut to it and put it in the user's, or the shared, Startup folder, or add an entry to the registry in the Run key for the machine or the user. The keys you want are HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run for all users and HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run for just the current user.
-
Jul 25th, 2005, 03:33 PM
#3
Re: run at startup
just a side note, look in the Microsoft.Win32 namespace.
the Registry and RegistryKey classes will be useful
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|