A1VBCode Forums

create ocx file


http://a1vbcode.com/vbforums/Topic20569.aspx

By Tirso - 10/30/2006

Hi there! I am new in VB 6, could anyone explain me what is the .ocx file and how to compile this. as far as I know this is the control, but I don't know how to create and what's the purpose of it.

Any suggestion since I am a beginner.

Thanks in advance

By true_innocent_hero - 6/30/2007

OCX stands for OLE Control Extension.



It is an independent program module that can be accessed by other programs in a Windows environment. OCX controls end with a .ocx extension. OCX controls represent Microsoft's second generation of control architecture, the first being VBX controls written in Visual Basic.



So, OCX is an building unit for the application making, in VISUAL BASIC 6, some controls are already given to use, e.g. CommandButton, Text Box, Rich Text Box, Combo, list Box etc.



But these all controls doesn't provide special functions as we want, so we build our own controls in form of OCX.



For further information, control building, samples you can e-mail me at;

true_innocent_hero@yahoo.com