Discussion Locked

ActiveX Control

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Assume that i have created an ActiveX Control using Visual Basic and installed the .ocx file in my server registry using regsvr32 utility. In Web, is it possible to make use of that control from anywhere. i.e Can i enjoy the features offered by the control using web browser anywhere in the world. How can i achieve this. Can i make it using tag (attribute:CODEBASE) of HTML to mention the location of my .ocx file.

In other words, i can imagine the working principle of ActiveX component(no user interface) in Web but i am confused with ActiveX control?

Please help me out!!!

1 reply

by g.albera

hi,
at server side you can only use dll and exe ActiveX, that is components with non user interface. if you want your web pages containing a graphical ocx (Activex Control) you should pack it in a .cab file and let users automatically download whenaccesing the page. the control, after download will be cached under "Downloaded Program Files" directory and will be accessible to client side scripting. See VB Package and deployment wizard for further details.

Ing. Gianluca Albera
BASE Solution Enginering

This discussion is closed to new replies.