Heiko Posted July 28, 2003 Posted July 28, 2003 Public WithEvents AxWebBrowser1 As AxSHDocVw.AxWebBrowser Private WithEvents mHtmlDoc As mshtml.HTMLDocumentClass mHtmlDoc = CType(AxWebBrowser1.Document, mshtml.HTMLDocumentClass) Works fine on my notebook. However after deploying the app (on a Win2K Server with .NET Framework installed) the CType will always return <nothing>. Does anyone know a workaround ? Any hints appreciated. Tnx Heiko Quote .nerd
*Gurus* divil Posted July 28, 2003 *Gurus* Posted July 28, 2003 Try using the IHTMLDocumentxxx interface instead, whatever version of IE is on a machine it's guaranteed to be implementing at least some of them. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.