Results 1 to 3 of 3

Thread: ActiveX - on a web-page - access attributes?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    1

    Question

    I've created an ActiveX-object (UserControl) to be used on a web page (about like the snippet below)
    The problem I have is, I want the routine to read a parameter passed to it .

    In Java-world applets access their attributes with the getParameter()-method.
    How do ActiveX - used on a web-page - access their attributes??

    Can anyone help?

    Thanks,
    Morten


    ----
    <!--
    <HTML>
    <BODY>
    ...
    <OBJECT
    ID="Example" CLASSID="CLSID:XXX..X"
    CODEBASE="Example.OCX">

    <PARAM name="name1" value="value1">

    </OBJECT>
    ...
    </BODY>
    </HTML>
    -->

  2. #2
    New Member
    Join Date
    Apr 2001
    Location
    Harrisburg, PA USA
    Posts
    13
    Use the ActiveX Control Interface Wizard to Create properties which will receive your <param> tag values.

  3. #3
    New Member
    Join Date
    Apr 2001
    Location
    karachi,Pakistan
    Posts
    8

    Thumbs up

    Use ActiveX Controls ReadProperty Event To Get Parameters from <Param...> Tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width