C#: In what assembly is SHDocVw.WebBrowser_V1 defined?

后端 未结 3 1673
旧时难觅i
旧时难觅i 2021-02-18 20:56

It\'s used on several websites which all seem to assume the reader knows what to do to have this type available, but I have no clue.

Example site, see the first comment:

3条回答
  •  余生分开走
    2021-02-18 21:08

    You can get it from the COM component list. The assembly name is "Microsoft Internet Controls".

    1. Right click "References" of your project in Solution Explorer view
    2. Click Add Reference
    3. Go to COM section
    4. Select Microsoft Internet Controls
    5. Click OK

提交回复
热议问题