private Process viewerProcess = null;
private const string HelpViewerExecutable = "IExplore.exe";
private const string HelpTopicNamespace = @"http://www.pcva.cn";在btnOpen的Click事件处理方法中添加代码: this.viewerProcess = new Process(); this.viewerProcess.StartInfo.FileName = HelpViewerExecutable;//程序名称
this.viewerProcess.StartInfo.Arguments = HelpTopicNamespace;//相关参数
this.viewerProcess.Start();以上是我采用的代码,为了传参,我把http://www.pcva.cn改成url,然后后面给了个
"http://www.baidu.com/s?wd=传参"的参数,但是提示字符串过长,改怎么解决,本菜鸟感激涕零
private const string HelpViewerExecutable = "IExplore.exe";
private const string HelpTopicNamespace = @"http://www.pcva.cn";在btnOpen的Click事件处理方法中添加代码: this.viewerProcess = new Process(); this.viewerProcess.StartInfo.FileName = HelpViewerExecutable;//程序名称
this.viewerProcess.StartInfo.Arguments = HelpTopicNamespace;//相关参数
this.viewerProcess.Start();以上是我采用的代码,为了传参,我把http://www.pcva.cn改成url,然后后面给了个
"http://www.baidu.com/s?wd=传参"的参数,但是提示字符串过长,改怎么解决,本菜鸟感激涕零
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货