Very easy yet can't figure a way out of it! With VS2003 I used to make a project for my deployment package. But with VS2008 I am now using the excellent feature of publishing my application. Which everything works fine!
The question is, how can I pass a command line argument to my published application? The problem is that every time I publish my application and is installed on the user's computer the installation path changes since the installation is in his documents and settings folder etc.. Previously the installation path was fixed such as
In the above case myProc1 would be the argument/parameter being passed in the application
Any ideas people??