> I created activex control with visual basic 6 and would like to test on
the
> html on the Internet.
> I registered the ocx with regsvr32, and use control pad from microsoft to
> insert the activex, the htmlcode generated works and shows my controlx
> without any problem. Only one thing, my code doesnot show on other
machine.
The reason it works on your machine but not the other is because the activex
control is installed on your machine. For it to work on the other machine,
you have to specify the download location using the codebase attribute on
the object tag. See here for an example:
http://www.copelandweb.com/activex/mbrot.html. Although you can get this to
work, understand that there are major security issues with activex controls
on web documents.