Open Browser to Windows Explorer
Posted: Tue Oct 23, 2012 6:43 pm
I am trying to open a browser to a particular path:
Host.Local.OpenBrowser(pathVar, "IE", "", false, false);
This does not allow for a string varibale to be used as the startup location.
I also tried system.diagnostic.process.start("expoloer.exe", path);
But for some reason it doesn't open to the correct path during test runs.
Any suggestions on how to use a variable in place of the URL for:
Host.local.openBrowser("http://www.", "IE", "", false, false):
Host.Local.OpenBrowser(pathVar, "IE", "", false, false);
This does not allow for a string varibale to be used as the startup location.
I also tried system.diagnostic.process.start("expoloer.exe", path);
But for some reason it doesn't open to the correct path during test runs.
Any suggestions on how to use a variable in place of the URL for:
Host.local.openBrowser("http://www.", "IE", "", false, false):