如何在窗中调用网址页面??? 比如说: 我要调用www.baidu.com这如何操作?? 新手问题,不要见笑,呵呵! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1楼正解!:)System.Diagnostics.Process.Start("www.hao123.com"); 一楼正解。慢了一步System.Diagnostics.Process.Start("www.hao123.com"); 怎么用呀??private void process1_Exited(object sender, EventArgs e) { System.Diagnostics.Process.Start("www.baidu.com"); }运行后,什么也没用,呵呵! [DllImport("shell32.dll")] public static extern int ShellExecute(int hwnd,string lpOperation , string lpFile , string lpParameters , string lpDirectory , int nShowCmd ); private void button1_Click(object sender, EventArgs e) { ShellExecute(0, "open", "www.hao123.com", null, null, 1); } 汗,这是打开新窗口,我的意思是在From1这个窗口中显示网址内容,这样能行的通不?? 在你的窗口中建立Web浏览器即可实现,.net2008中提供浏览器控件,如果没有那要就自己写一个浏览器要就是找找第三方控件 COM组件中似乎有微软提供的Web 浏览器 网站导航特效 数据库的选择 C#正则 如果替换指定的内容,保留要的内容 新手问个问题 关于标题栏的最小化框 关于Properties.Resources的问题 ArrayList绑定到datagrid出错,老是绑定ArrayList 的长度 有沒有簡單的 C# SMTP Server 和 SMTP Client 範例? 謝謝 关于用C#编程的入门问题 初学C#,请懂vb.net的高手帮忙转换一个句子. ArrayList数组如何定义多维数组? 问个C#语言基础问题:)
System.Diagnostics.Process.Start("www.hao123.com");
System.Diagnostics.Process.Start("www.hao123.com");
private void process1_Exited(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("www.baidu.com");
}运行后,什么也没用,呵呵!
public static extern int ShellExecute(int hwnd,string lpOperation , string lpFile , string lpParameters , string lpDirectory , int nShowCmd );
private void button1_Click(object sender, EventArgs e)
{
ShellExecute(0, "open", "www.hao123.com", null, null, 1);
}