How to start application which deployed by ClickOnce?

after install the application from publishing server.

the installation will create a application at the start Menu:

for example :

C:\Documents and Settings\alan.zhou\「start」menu\programs\Company name\application name\MyApp.appref-ms (which is a shortcut of the application.)

in most of the case ,this works fine.

but in my case ,i want to start the application programmatically and use a Command Arguments.

for example:

C:\Documents and Settings\alan.zhou\「start」menu\programs\Company name\application name\MyApp.appref-msArgument1=helloworld

unfortunately , the Argument never works.

so , can anybody gives me some help?

thanks in advance.

Alan

[869 byte] By [AlanZhou] at [2007-12-25]
# 1

I'm pretty sure you can't pass arguments via the command line like this. It can work using URL's and ? type parameters. If you don't have offline scenarios, then this should be just fine, just launch it via an http:// url with the parameter...

DavidGuyerMS at 2007-10-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...