how could i use activex control in html page?

T

thinktwice

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?
 
T

thinktwice

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top