Parameter Passing -- ASP.net MVC to WindowsForms ?

How can I do something like the below in Windows 7 using C# ?
1.      User opens http://localhost/CASTLE/MAINT_WORK_REQ/Edit/176
2.      Clicks “Launch Dispatch APP” button
3.      WinForms ClickOnce C:\Users\userName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Dispatch APP opens with textbox1.value = to above step #1 textbox2.value
finance_teacherAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PaulHewsCommented:
I've never done this personally, but it appears to be possible.  You have to use the link to the online deployment manifest rather than use the locally installed path to the clickonce program.  

example (from link below):
http://mydeploymentserver/MyApplicationFolder/MyApplication.application?param1=foo¶m2=bar

This blog post outlines the steps required to pass parameters to the clickonce app, and utilize the values within the application.

http://briannoyes.net/2004/08/10/HarvestingClickOnceCommandLineArguments.aspx

Based on this, you would just create a link with the required parameters in your MVC view.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.