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 -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -