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,remark out the ling:
Friend with Events WB As AxSHDocVw.AxWebBrowser
Then rename AxWebBrowser1 to WB
Third,set the control Dock.Fill
hope this helps everyone.