Im using visual studio 2005 with C# to develop an application that can either perform certain actions by itself or open a form were the user can choose what to do. In order to decide which is done, the application checks its arguments [from main(string[] args)]. What I can't figure out or find is, is it posible to create two icons when the application is deployed so that one of them would open the application with no parameters and the other would open it with parameters?
質問する
926 次
1 に答える
0
If you launch the application using an http url then you can pass arguments. However, you do not seem to be able pass parameters from icons on the start menu or desktop. The only way would be to have a http shortcut icon that would launch a browser that would then trigger the download of the deployment manifest.
于 2010-01-14T00:23:50.407 に答える