An OCX is an embeddable COM control, such as the TreeView that ships with VFP. The OCX extension came from the old VBX extension that allowed controls to be built for VB. Originally, OCX controls were supposed to be embeddable and DLLs not, but there are some DLLs that can be embedded. OCX and ActiveX are somewhat synonymous. VB clouds the picture by calling COM DLLs, "ActiveX DLLs".
>Hello again Craig,
>
>Do you mind if I throw one more bit of confusion into all of this. From what you've told me so far, there are two types of DLLs, COM and Win32. ActiveX is the same thing as COM.
>
>Now, where does OCX fall in all of this? Is an OCX just another DLL? If so, is it COM or Win32 and why the ocx extension rather than dll?
>
>Thanks for taking time to help a confused developer! :)
>
>Rodd
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer