vb 网页提交

来源:百度知道 编辑:UC知道 时间:2024/05/26 20:39:53
具体方法是

比如一个网站的地址是 http://www.xxx.com/asp?id=xxxxx (这里写不同的号码)

我想建立一个command控件 然后个text1 还有个一 Microsoft Internet Explorer 三个控件 然后要求是 在text1里输入的内容是数字 然后点command 出现的内容返回到 Micorsoft Internet Explorer 上

'您是指用WebBrowser控件吧?

Private Sub Command1_Click()
WebBrowser1.Navigate " http://www.xxx.com/asp?id=" & Text1.text
End Sub

Private Sub Command1_Click()
Shell "C:\Program Files\Internet Explorer\iexplore.exe http://www.163.com/?login=" & Text1.Text, vbNormalFocus
End Sub

支持一楼
shell "explorer http://...?id=" & val( text1.text )

shell "explorer http://...?id=" & text1.text