Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error loading activex controls

1 view
Skip to first unread message

Johnny

unread,
Oct 21, 2002, 10:25:18 AM10/21/02
to
Hi all,
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.
Can anyone pls help. Read from Micrsoft web and used lpktool but no help.
Thanks in advance for guide.

George Copeland

unread,
Oct 23, 2002, 8:55:38 AM10/23/02
to
"Johnny" <joh...@hotmail.com> wrote in message
news:3db40e45$1...@news.starhub.net.sg...

> 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.


0 new messages