• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 31. Exchanging Data with Automat... > Adding ActiveX Controls to Your Appl...

Adding ActiveX Controls to Your Application

ActiveX controls (OCXs) are a special class of programmable Automation objects that expose their own events in addition to their properties and methods. You embed the ActiveX control in a form and program the control with the same types of statements used with native Access controls, such as a text box or combo box. Some ActiveX controls are databound, in which case you embed the control in a form bound to an Access table or query.

ActiveX controls are similar to Visual Basic custom controls (VBXs) in concept and use. VBXs are 16-bit only, while ActiveX controls are 32-bit only. All the Office 97 applications that support Forms 2.0 let you embed ActiveX controls on forms; Internet Explorer 3.0 also supports ActiveX controls. (Access 2.0 and 16-bit Visual Basic 4.0 use 16-bit OLE Controls, which now are obsolete.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint