command line parameters for a browser
-
hello, i embedded inside my c# code the ability to visit home page etc. by clicking a button. now , i have no idea what browser my customers have so what i do is write in the command line only the file hoping that it will be automatically linked with the right program. well , it works BUT.. i cant open it in a new browser window. it keeps using the allready opened window. i tried the switching option but it doesnt work any suggestions ? here's the command i use :
System.Diagnostics.Process.Start("http://www.website.com/","-new");
the -new should do the work but it doesnt. tnx, avi
-
hello, i embedded inside my c# code the ability to visit home page etc. by clicking a button. now , i have no idea what browser my customers have so what i do is write in the command line only the file hoping that it will be automatically linked with the right program. well , it works BUT.. i cant open it in a new browser window. it keeps using the allready opened window. i tried the switching option but it doesnt work any suggestions ? here's the command i use :
System.Diagnostics.Process.Start("http://www.website.com/","-new");
the -new should do the work but it doesnt. tnx, avi
i don't really know c# - but it their an option to add "_blank" as a 'target' argument?
-
hello, i embedded inside my c# code the ability to visit home page etc. by clicking a button. now , i have no idea what browser my customers have so what i do is write in the command line only the file hoping that it will be automatically linked with the right program. well , it works BUT.. i cant open it in a new browser window. it keeps using the allready opened window. i tried the switching option but it doesnt work any suggestions ? here's the command i use :
System.Diagnostics.Process.Start("http://www.website.com/","-new");
the -new should do the work but it doesnt. tnx, avi
alternatively - a simpler solution (addmittedly not as seamless) would be to add a page on your website that directs the to a new window using a hyperlink with
target="_blank"
or using javascript to dynamically pop an new window??