I have an older VB.Net 2003 project that used the mshtml DLL to add a web browser to a form for displaying HTML help files in my application. After installing a security update from Windows Update website, I now get a "Type 'AxSHDocVw.AxWebBrowser' is not defined." error when I try to compile this project.

Has the WebBrowser COM component been taken away from us still using Visual Studio 2003 If so, what are we supposed to use instead

Re: Windows Forms General After installing a Windows Update, I get Type 'AxSHDocVw.AxWebBrowser' is not defined.


OK... resolved this issue. Apparently the security update made the DLLs in my assembly references obsolete and removed them. I had to ensure that current SHDocVw.dll & AxSHDocVw.dll existed by running the import utility.

  • Start "Visual Studio .NET 2003 Command Prompt"
  • cd [project directory\bin]
  • Type "aximp d:\windows\system32\shdocvw.dll"
  • Build / Clean Solution
  • Build / Rebuild All