问题描述
HI,
我正在使用Surface应用,它要求用户在IE中打开网址。用户单击该网址并打开一个单独的IE窗口而不是WebElement。我找到了此代码:
处理myProcess = new 处理( ); $
myProcess。 StartInfo 。 FileName =
" iexplore.exe" ;
$
myProcess。 StartInfo 。参数 =
" http://www.wrox.com" ;
myProcess。开始 ( ) ;
但导入System.diagnostics时它似乎不起作用。
ANy建议?
谢谢
Marlon
HI,
I am working on a Surface app, and it requires the user to open a web address in IE. THe user click the web address and a separate IE window opens instead of the WebElement. I found this code:
Process myProcess = new Process();
myProcess.StartInfo.FileName ="iexplore.exe";
myProcess.StartInfo.Arguments ="http://www.wrox.com";
myProcess.Start();
but it does not seem to work when I import the System.diagnostics.
ANy Suggestions?
Thanks
Marlon
这篇关于在没有WebElement的Windows表面中显示html页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!