Board index » Visual Studio » Develop ocx using ATL? ActiveX dll in web page?

Develop ocx using ATL? ActiveX dll in web page?

Visual Studio239
Hi:



A few questions on ActiveX Control:



(1) Can ATL be used to develop ActiveX control in the form of OCX (not DLL)?



(2) Can ActiveX control in the form of DLL be used in Web pages (in the same

way an ActiveX ocx is used) ?



Thanks

Polrais


-
 

Re:Develop ocx using ATL? ActiveX dll in web page?

Hi,



All OCX's are dll's (not all com dll's are ocx's). IE if you create an ATL

DLL project you can create a wide variety of ATL object types.



An OCX is simple a COM object the is VB compatible and is nearly always

visible both at run time and design time. If what you create is in the end

VB compatible and works just as an OCX works, then you can compile it with

an ocx file extension, or rename it if it pleases you.



- Tim





"Polaris" <etpolaris@hotmail.com>wrote in message

Quote
Hi:



A few questions on ActiveX Control:



(1) Can ATL be used to develop ActiveX control in the form of OCX (not

DLL)?



(2) Can ActiveX control in the form of DLL be used in Web pages (in the

same

way an ActiveX ocx is used) ?



Thanks

Polrais









-