VB中点击按钮上网如何实现?
来源:百度知道 编辑:UC知道 时间:2024/06/02 15:49:45
谢谢!
在一个按钮下写下面代码:
Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.baidu.com"
标准写法:
x = Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.baidu.com", 1)
如果不清楚shell函数,就看看书~~
网址自己换哈~
ShellExecute 0&,"open","http://www.baidu.com",vbnullstring,vbnullstring,5