AlexCode Posted January 20, 2005 Posted January 20, 2005 Hi... The topic kind of says it all... How can I compile an application exe so it can start normally by double clicking and from a command prompt? I need this because this app produces user report files, and I want to lunch the app when the user double clicks a report file. Thanks! Alex Quote Software bugs are impossible to detect by anybody except the end user.
Wraith Posted January 20, 2005 Posted January 20, 2005 Your post is a little confusing, i'm not sure exactly what it is you want. Any executable can be run by directly executing its exe file, either from the shell or from the command prompt. To have your program the default for a certain type of file you would need to create a file association. The installer project has a tab for these and there is good msdn documentation on how to create them manually if you need to. Is this what you want to know? Quote
AlexCode Posted January 21, 2005 Author Posted January 21, 2005 With a more deep search I found this thread that does quite what I want: http://www.xtremedotnettalk.com/showthread.php?t=85595 Any executable can be run by directly executing its exe file, either from the shell or from the command prompt. I know that... but the advantage of starrting it form the shell is that you can add some start arguments... Thanks anyway Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.