some questions:
*whats a ocx
*whats it used for
*why do ppl make then
*what are the basics for making one
just asking some questions couse i don't know anything about it
1) The short meaning is a user control
2) Making your own controls for vb etc
3) So you can re-use them
4) just select user control from the start wizzard, add a button to the for and put a message box in it. Compile to OCX.
Start a new app and right click tool bar and select components.. and select you ocx
1. an ocx is a dll that hosts an activex control or set of controls.
2. activex controls are used in all sorts of apps. some are grids, some are buttons that someone might have made so that they can have buttons with weird shapes or more functionality than traditional buttons.
3. activex controls are made so that they can be used in any programming environment that hosts them. So you can make an ActiveX control in VB and use it in a Visual C++ project, or vice-versa (even foxpro, delphi,etc.)
4. the most basic things about making activex controls I can tell you are this:
first, figure out why you need this control. Is there already a free one out there that does what you need. If it's not free, is it more cost-efficient to spend the time to make it yourself, or to just purchase the existing one.
If you still feel you need to make your own, or just want to do it for the experience, the MSDN has plenty of step-by-step tutorials on making them. Hope this helps
Definition: (OCX) An Object Linking and Embedding (OLE) custom control allowing infinite extension of the Microsoft Access control set. OCX is similar in purpose to VBX used in Visual Basic. Available OCX's include "Scroll Bar Control", "Calendar Control", and "Data Outline Control".
AEtherson, jolly well looked up. Sadly, that particular definition - whilst available in a number of 'what is" type websites - is at least 9 years old, and therefore a little misleading.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.