c# - opening browser using a get method url -


i'm trying open default web browser application, far i'm using:

process.start("view.html"); 

and works, if want open browser url like: "view.html?var=something"

using process.start trows file not found error , cant find way tell open still file method specified.

thanks help

edit:

done in way:

string browserstr = path.getfullpath(config.page_local_url) + _p; process.start("opera.exe", browserstr).waitforinputidle(); 

anyway, there way find default browser , pass function should not specify it?

try this:

process.start("view.html", "?var=something"); 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -