to work out this problem,First,right clicking on the toolbox and selecting and select add/remove items, in the selecting dialog, click the com tab and add Microsoft Web Browser Control,Second,re out the ling:Friend with Events WB As AxSHDocVw.AxWebBrowser Then rename AxWebBrowser1 to WBThird,set the control Dock.Fillhope this helps everyone.
peering08cn(想嘛干嘛) 不知道您的操作在什么地方进行