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.
博客介绍了解决某问题的步骤。首先在工具箱右键选择添加/移除项,在对话框的COM标签添加Microsoft Web Browser Control;接着注释特定行并将AxWebBrowser1重命名为WB;最后设置控件Dock.Fill。

被折叠的 条评论
为什么被折叠?



