Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX and DLL Question

Status
Not open for further replies.

astonmak

MIS
Feb 14, 2003
41
0
0
CN
Hi all,

Is DLL better than OCX for us to develop a application, and should I import those OCX codeing into my project or manipulate it separately will be fine? cause someone tell me if I import those OCX source code into the project, then the OCX will be compile at the same time when the project compile to be a EXE file.

Thanks for your help.
Aston
 
Hi
Control components are limited in their ability to provide other kinds of objects because class modules in ActiveX control projects can only have two Instancing settings, PublicNotCreatable or Private. Objects in control components are best used to enhance the features of controls; put objects with other uses in a separate ActiveX DLL project.


For more you can refer in MSDN Help.
Index: ActiveX components, component basics

Regards
Som
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top