Click here to Skip to main content
15,884,388 members
Home / Discussions / C#
   

C#

 
GeneralDirectX CaptureBuffer run-time error Pin
Shimi12319-Jan-04 23:42
Shimi12319-Jan-04 23:42 
GeneralRe: DirectX CaptureBuffer run-time error Pin
Shimi12320-Jan-04 3:02
Shimi12320-Jan-04 3:02 
GeneralData type lost when convertingto XML Pin
Yaron K.19-Jan-04 23:23
Yaron K.19-Jan-04 23:23 
GeneralRe: Data type lost when convertingto XML Pin
Heath Stewart20-Jan-04 4:05
protectorHeath Stewart20-Jan-04 4:05 
Generalcontrol in menu Pin
Mohamad Al Husseiny19-Jan-04 20:27
Mohamad Al Husseiny19-Jan-04 20:27 
GeneralInstaller startmenu question Pin
joepardue19-Jan-04 16:10
joepardue19-Jan-04 16:10 
GeneralRe: Installer startmenu question Pin
Shahin7719-Jan-04 17:46
Shahin7719-Jan-04 17:46 
GeneralRe: Installer startmenu question Pin
Heath Stewart19-Jan-04 20:23
protectorHeath Stewart19-Jan-04 20:23 
shaun77 wrote:
another simple way you can use is to create an icon for your exe file in the windows startup folder.

A shortcut, actually, not an "icon". The Startup folder is also in Start->Programs->Startup, which is also scoped for either the user or the system depending on the platform (Windows vs. Windows NT). The best way would be to create a Windows Installer project and use the Shortcuts designer there. The Windows Installer runtime automatically determines the platform and uses a global shortcut, or it can use a user shortcut (if available) depending on your options.

For examples, on Windows NT-based platforms (NT4, 2000, XP, 2003, and all future versions) except for NT4 (everything was in C:\Winnt\Profiles), you can use either C:\Documents and Settings\All Users\Start Menu\Programs\Startup for all users, or C:\Documents and Settings\username\Start Menu\Programs\Startup for a specific user.

For Windows, this is typically C:\Windows\Start Menu\Programs\Startup.

Of course, replace the C: drive with your system drive, but this is usually C:. Again, if you use a Windows Installer project, it automatically resolves all special shell folders.

To add a Windows Installer project to your solution (which can then take advantage of build targets for your other proejct(s)), right-click on your solution, select "Add->New Project", select "Setup and Deployment Projects", then "Setup Project". Give it a name and click "OK".

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Installer startmenu question Pin
joepardue20-Jan-04 4:23
joepardue20-Jan-04 4:23 
QuestionHow to get the target that *.lnk link to Pin
god4k19-Jan-04 16:07
god4k19-Jan-04 16:07 
GeneralImages, SQL and C# -PLEASE HELP Pin
Peter Greenall19-Jan-04 14:28
Peter Greenall19-Jan-04 14:28 
GeneralRe: Images, SQL and C# -PLEASE HELP Pin
Heath Stewart19-Jan-04 19:53
protectorHeath Stewart19-Jan-04 19:53 
GeneralRe: Images, SQL and C# -PLEASE HELP Pin
Peter Greenall20-Jan-04 1:05
Peter Greenall20-Jan-04 1:05 
GeneralRe: Images, SQL and C# -PLEASE HELP Pin
Jose Fco Bonnin20-Jan-04 5:41
Jose Fco Bonnin20-Jan-04 5:41 
General(?) about transfering to C# Pin
Snyp19-Jan-04 14:02
Snyp19-Jan-04 14:02 
GeneralRe: (?) about transfering to C# Pin
Heath Stewart19-Jan-04 19:41
protectorHeath Stewart19-Jan-04 19:41 
GeneralPerformance issues Pin
lpRomang19-Jan-04 10:54
lpRomang19-Jan-04 10:54 
GeneralRe: Performance issues Pin
leppie20-Jan-04 6:26
leppie20-Jan-04 6:26 
GeneralSharing Crystal Reports Documents between .Net and Delphi. Pin
Shahin7719-Jan-04 9:37
Shahin7719-Jan-04 9:37 
Generalmemory problems!! Pin
abc87619-Jan-04 9:30
abc87619-Jan-04 9:30 
GeneralRe: memory problems!! Pin
Heath Stewart19-Jan-04 19:31
protectorHeath Stewart19-Jan-04 19:31 
QuestionConvert a bitmap with 24bpp Pixel Format into 1bppIndexed Pixel format?? Pin
FiDz19-Jan-04 8:41
FiDz19-Jan-04 8:41 
AnswerRe: Convert a bitmap with 24bpp Pixel Format into 1bppIndexed Pixel format?? Pin
Mazdak19-Jan-04 8:52
Mazdak19-Jan-04 8:52 
AnswerRe: Convert a bitmap with 24bpp Pixel Format into 1bppIndexed Pixel format?? Pin
leppie20-Jan-04 6:35
leppie20-Jan-04 6:35 
QuestionSystem.Activator() - Performance issue? Pin
Jonas Follesø19-Jan-04 8:27
Jonas Follesø19-Jan-04 8:27 

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.