Both DLLs and OCXs have their used.
An OCX is a component that has a graphical interface, a control. It is added to the toolbox (using Project->Components, it can then be added to form and its properties can be set using the properties window. The DataGrid is an example of an OCX.
A DLL is also a component that gives developers more features through the code. ADODB is an example of a DLL.
>Hi Brian,
>
>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
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com