Internet Explorer Document Reference

Discussion in 'ASP .Net Web Controls' started by José Newton Fernandes Ferreira, Aug 13, 2003.

  1. Hi,

    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?

    Thanks,

    José Newton
     
    José Newton Fernandes Ferreira, Aug 13, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Patrice Vogel
    Replies:
    0
    Views:
    515
    Patrice Vogel
    Mar 7, 2005
  2. cmay
    Replies:
    0
    Views:
    1,136
  3. Ed Hauptman
    Replies:
    7
    Views:
    1,020
    Ed Hauptman
    Aug 7, 2009
  4. José Newton Fernandes Ferreira

    Internet Explorer Document Reference

    José Newton Fernandes Ferreira, Aug 14, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    132
    José Newton Fernandes Ferreira
    Aug 14, 2003
  5. John Smith
    Replies:
    1
    Views:
    145
    Evertjan.
    Mar 12, 2005
Loading...

Share This Page