Setting ActiveX properties from HTML
Posted on 2003-02-22
I wrote an ActiveX control that I would like to embed in a web page. However, there are some properties that need to be set such as background color, filename to use, and fog color. Supposedly I can set these properties in HTML using code like this
<OBJECT ...random stuff...>
<PARAMETER NAME=filename VALUE="test.wrl">
I wrote a test HTML file that does this and everything works fine if I then open that file locally in Internet Explorer. However, if I copy that HTML file to a server or a remote machine and open it in IE remotely, the properties are not set correctly. I'm pretty sure that my activeX control is written correctly because setting properties works fine when I embed the object in a Power Point presentation, or open an HTML file locally. Does anyone have any idea why this might be happening?