Click to See Complete Forum and Search --> : HELP: VB can see method of my OCX but not InternetExplorer


maciej
January 26th, 2000, 11:01 AM
I developed a small (tester) OCX in VC++6, using MFC and the ActiveX Project Wizard.

I made the OCX to be invisible at run-time.

I added one method. And it executes fine when loaded in VB, but I get "Error: object does not support this property or method..." when I try to place it on a web page.

Here's how I use the code:

<html>
<body>
<font face="Arial">My ActiveX test</font>

<object
classid="clsid:9CD54B85-D28Q-41D3-BF46-86EA9EC97B5F"
id=ax
width=0
height=0>
</object>
<script language="VBScript">

ax.AboutBox

</script>
</body>
</html>

I'm at a loss, any suggestions are welcome. I do not have a web server running or anything. I am opening the page as local file.

--maciej