A1VBCode Forums

What is Axtivex User Control and What is Ocx ? Why these both are used for ?


http://www.a1vbcode.com/vbforums/Topic10758.aspx

By Rinku - 4/18/2005

Dear all,

Would you pls tell me What is Activex Control and why should we make its Ocx file ? Your answers will be highly appciated. If possible can you pls send me its example as early as possible....

Expecting your positive and prompt response....!!!!

Rinku

 

By waynespangler - 4/19/2005

webopedia defines activex as:

"A loosely defined set of technologies developed by Microsoft for sharing information among different applications. ActiveX is an outgrowth of two other Microsoft technologies called OLE (Object Linking and Embedding) and COM (Component Object Model). As a moniker, ActiveX can be very confusing because it applies to a whole set of COM-based technologies. Most people, however, think only of ActiveX controls, which represent a specific way of implementing ActiveX technologies."

ActiveX controls are the controls that you use in your forms, buttons, listboxes, etc. To use them they have to be compiled to .ocx.

I have a tutorial for an oval button at my site to show what is involved with writting an ocx control.

http://www.angelfire.com/80s/wayne0/Code/ButtonOCX.html