how could i use activex control in html page?

Discussion in 'Javascript' started by thinktwice, Jan 14, 2006.

  1. thinktwice

    thinktwice Guest

    i could create it successfully, but i can't manipulate it

    <html>
    <body>
    <object height="50% width="50%" classid="clsid:XXXX....." id
    = obj>
    <script language= javascript>
    obj.gridVisible= true //the method call here
    don't take effect
    </script>
    </body>
    </html>


    here is the interface i implemented in my control
    interface IControlInterface : IDispatch
    {
    [id(..), propput]
    HRESULT gridVisible ([in] VARIANT_BOOL bVal);
    }

    anything wrong?
     
    thinktwice, Jan 14, 2006
    #1
    1. Advertising

  2. thinktwice

    thinktwice Guest

    by the way, could anyone teach me how to debug the execution process of
    the html file ?
    if i could debug i might find the reason why the call doesn't take
    effect. thanks in advance
     
    thinktwice, Jan 14, 2006
    #2
    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. Bob Hanson
    Replies:
    2
    Views:
    860
    Steve C. Orr [MVP, MCSD]
    Mar 2, 2005
  2. Replies:
    0
    Views:
    900
  3. jignesh
    Replies:
    5
    Views:
    541
    Mark Rae [MVP]
    Jul 15, 2007
  4. vml
    Replies:
    0
    Views:
    1,071
  5. fniles
    Replies:
    2
    Views:
    165
Loading...

Share This Page