Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Internet Explorer Document Reference

Thread Tools

Internet Explorer Document Reference

Josť Newton Fernandes Ferreira
Posts: n/a

I am migrating a VB 6 ActiveX Control to a C# user control. The activeX
control use mshtml to get a reference of document object where it is site on
(the html page) to make some decisions. I do that on VB 6 using:

Dim iedocument As MSHTML.HTMLDocument
Set iedocument = UserControl.Parent

When I try to do that using C# user control, the parent property return
null. How can I do that? How can I get a reference of the document object in
with the control is located?


Josť Newton

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer 8: C:\Program Files\Internet Explorer\iexplore.exe vs C:\Program Files (x86)\Internet Explorer\iexplore.exe Nathan Sokalski Windows 64bit 16 02-22-2010 08:31 AM
internet explorer 7 - Internet Explorer cannot display the webpag sandy j Windows 64bit 0 05-02-2009 02:12 AM
Accessing Internet Explorer document from contained vb Activex Patrice Vogel ASP .Net 0 03-07-2005 08:21 AM
Document Object Model Reference - DOM Reference Sean Javascript 2 09-20-2004 11:57 AM
Internet Explorer Document Reference Josť Newton Fernandes Ferreira ASP .Net Building Controls 0 08-14-2003 03:54 PM