Hi Alex, you're right :-)
I forgot to import the "mshtml typelib"..... Thanks a lot!!!! Randy Alex <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Randolph Welte wrote: > > Hi, > > > > is there any way to get the HTML source from the Mozilla ActiveX Control > > within my program? I want to use it instead of the Micorsoft WebControl, > > where I can get the HTML Source with the code below: > > > > String htmlcode = WebBrowser1.Document.body.innerHTML (or 'innerText') > > > > With the Mozilla ActiveX, this wont't work :-( > > > > Any idea? > > > > Thanks in advance, > > > > Randy > > > > > > > > Hi Randy, > > I do the same thing : > String htmlcode = WebBrowser1.Document.body.innerHTML > > and it works. > > Are you sure your control is called 'WebBrowser1' ? Are you sure you > have the mshtml typelib imported? > > Alex _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
