开发者

Can a website interact with a Click Once application? (launch it, or pass parameters to it?

I have a website that will host many Windows Workflow 4 flowcharts and I'd like to allow an end user to 开发者_JS百科double click a workflow and then launch the Workflow designer (installed as click once, or a regular app) from there.

What is the lowest friction way to achieve this? Is a file association the only way?


You can invoke a CLickOnce application by linking to the deployment manifest (the .application file on the webserver) (assuming it's deployed via the web), AND you can pass query parameters to it if it is an online-only application. You also have to have the option in the publish options set to allow URL parameters to be passed to the application.

How to retrieve query string information :

http://msdn.microsoft.com/en-us/library/ms172242(VS.80).aspx

I think this is your best bet. From the desktop, you can run the application even if it's offline, and pass parameters to it, but from a website, I think this will work best for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜