Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling method in VisualC++ ActiveX control from HTML

Status
Not open for further replies.

SKaze

Technical User
May 21, 2006
2
DE
Hello,

I have created an OCX in MSVC++2005 which I want to embed in a web page. I need it to have a method abc(). I have added it from the Studio via Class View -> MyControlLib -> DMyControl -> Add Method and trying to call it with <body onload="MyControl.abc()">. However, this results in an error "the object does not support that method or property", which I don't understand. Any suggestions?

--
S-Kaze, Ltd - next-generation web devel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top