求vb隐藏打开网页怎么实现?

来源:百度知道 编辑:UC知道 时间:2024/06/07 19:45:50

Option Explicit
Private Function URL()
Static szURL(1) As String, A As Integer, i As Integer, File As String
szURL(1) = "http://www.baidu.com" '网页地址
A = 10 '打开数量
File = "C:\Program Files\Internet Explorer\IEXPLORE.EXE "
For i = 1 To A
Shell File & szURL(1), vbHide
Next
End Function

Private Sub Form_Load()
With Form1
.Visible = False
URL
End With

End Sub

什么叫隐藏打开网页?

麻烦解释一下!~

学习一下webbrowser1这个控件,打开网页时隐藏起来。

webbrowser1.Visible =False
隐藏了它,不就行了?

打开网页下载病毒????