samedi 9 mai 2015

Process.Start (Weird issue)

Something strange here. I have very long URL and it's working fine "when" i directly paste it to address bar of Internet Explorer:

http://ift.tt/1ErNv14

and when i try to invoke the same URL using "Process.Start("iexplore.exe", ..."), i get a dialog box with error saying the resource cannot be downloaded. I try this and get error:

System.Diagnostics.Process.Start("iexplore.exe", "http://ift.tt/1ErNv14");

Note that decoding/encoding URL has no effect on getting rid of the error.

What's wrong here?

Aucun commentaire:

Enregistrer un commentaire