Parameterized Smart Client Applications
How do I pass a parameter to a Smartclient application?
I managed to make it worked in a file system but after I deployed it as a smartclient app, it doesn't seem to get the parameters.
I saw one article wherein I have to create an aspx page and from there pass the parameter to the smartclient executable via query strings. Is there other way to do it without using a helper aspx page?
This is how I am to trying to accomplish this.
//ProcessStartInfo pInfo = new ProcessStartInfo(@"C:\Documents and Settings\username\Desktop\wiz\wizard.exe", "4");this one works
ProcessStartInfo pInfo = new ProcessStartInfo(@"http://myserver/wizard/wizard.exe","1");
// ProcessStartInfo pInfo = new ProcessStartInfo(@"http://myserver/wizard/wizard.exe?1");
Process.Start(pInfo);
Console.WriteLine();
Console.Read();
None of them seem to work.
"Dont you ever give up!"
__________________
\"Dont you ever give up!\"
|