WebBrowser "Object Reference Not set to an instance of an Object

zhaozj2021-02-16  84

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 every.

转载请注明原文地址:https://www.9cbs.com/read-13508.html

New Post(0)