标签:style blog http color io div log ad
Option Explicit Private WithEvents IE As VBControlExtender Private Sub Command1_Click() Dim IE Set IE = Me.Controls.Add("Shell.Explorer.2", "IE", Me) IE.Top = 0 IE.Left = 0 IE.Width = 5000 IE.Height = 5000 IE.Width = Me.ScaleWidth IE.Height = Me.ScaleHeight IE.Visible = 1 Dim WebBrowser Set WebBrowser = IE.Object WebBrowser.Silent = True WebBrowser.Navigate "http://www.baidu.com" End Sub Private Sub IE_ObjectEvent(Info As EventInfo) Debug.Print Info.Name End Sub
vb6动态创建webbrowser,布布扣,bubuko.com
标签:style blog http color io div log ad
原文地址:http://www.cnblogs.com/nanfei/p/3926567.html