Jason, You don't exactly use _javascript_, but the mshtml sub-objects of the Document object and their associated methods are the same as the ones you'd use in _javascript_. The undocumented part is the mshtml types you need to cast toin order to access the objects and methods. Here's the C# from something I just wrote (the parentheses are type casts): using mshtml; mshtml.IHTMLElement body=(mshtml.IHTMLElement)((mshtml.IHTMLDocument2)Document).body; Now you can access the innerHTML property and any other properties and methods of the mshtml library that the Mozilla ActiveX implements. Download mshtml from Microsoft. Here's from a VB.NET example: Dim element As IHTMLElement = CType(document.body, IHTMLElement) Jason Boardman wrote: yikes! well if you ever come across such an example please post it here, i think i might have an inkling of what your saying- load the control with a blank page and make changes to the Document object, or by using _javascript_ in the in one page to write HTML into the other? (document.write or something?) this isn't well charted territory for me- but alas nothing ever is until you have to do something weird like this. i'll do some research. thanks very much for your help! |
- writing directly to Mozilla ActiveX control in VB6 Jason Boardman
- writing directly to Mozilla ActiveX control in VB6 Michael LaMontagne
- Re: writing directly to Mozilla ActiveX control in... Jason Boardman
- Re: writing directly to Mozilla ActiveX contro... Michael LaMontagne
- Re: writing directly to Mozilla ActiveX contro... Jason Boardman
- Re: writing directly to Mozilla ActiveX contro... Jason Boardman
- Re: writing directly to Mozilla ActiveX co... Michael LaMontagne
- Re: writing directly to Mozilla ActiveX co... Jason Boardman
- Re: writing directly to Mozilla ActiveX control in... Michael LaMontagne