How to Use ActiveX in the Containers
ActiveX is supported in many containers. Following containers are some development platforms I can find which can use ActiveX in their applications and support all my OCX.
Microsoft Visual Basic 4.0
Microsoft Visual Basic 5.0
Microsoft Visual Foxpro 3.0 and 5.0
Microsoft Visual Basic for Application (Word, Excel and PowerPoint)
Microsoft Access
Borland Delphi 2.0
Microsoft Visual C++ 4.x
Microsoft Visual C++ 5.0
Start your Visual Basic 4,0 design environment and load your project.
- Choose menu Tools|Custom Controls... or press Ctrl+T or right-click the Toolbox and choose Custom Controls... in the popup menu.
- In the Custom Controls dialog, find which control you want to use in your project from the Available Controls list.
- Set the check box before the controls you want then click the OK in the Custom Controls dialog.
- The icons of the controls you choose are showed at the end of the Toolbox. Click the icon to choose a control and put the control onto the form.
Start your Visual Basic 5.0 design environment and load your project.
- Choose menu Project|Components... or press Ctrl+T or right-click the Toolbox and choose Components... in the popup menu.
- In the Components dialog, select Controls tab, find which control you want to use in your project from the controls list.
- Set the check box before the controls you want then click the OK in the Components dialog.
- The icons of the controls you choose are showed at the end of the Toolbox. Click the icon to choose a control and put the control onto the form.
Microsoft Visual Foxpro 3.0 and 5.0
Start your Visual Foxpro
- Choose menu Tools|Options...
- In the Options dialog, select Controls tab and select the OLE Controls radio button and the Controls check box.
- Find which control you want to use in your project from the controls list.
- Set the check box before the controls you want then click OK in the Options dialog.
- Start the form Designer by loading the existing form or creating a new form.
- Click
button on the Form Controls toolbar and choose OLE Controls from the popup menu.
- The icons of the controls you choose are showed on the Form Controls toolbar. Click the icon to choose a control and put the control onto the form.
Microsoft Visual Basic for Application (Word, Excel and PowerPoint)
Start your Office application and load a document or create a new document
- Choose menu Tools|Macro|Visual Basic Editor or press ALT-F11.
- The Microsoft Visual Basic for Application design interface appears.
- Choose a existing Form or create a new form. Choose menu Tools|Additional Controls... or right-click the Toolbox and choose Additional Controls... from the popup menu.
- Find which control you want to use in your project from the Available Controls list.
- Set the check box before the controls you want then click OK in the Additional Controls dialog.
- The icons of the controls you choose are showed on the Toolbox. Click the icon to choose a control and put the control onto the form.
Start your Microsoft Access and load a existing database or create a new database
- In the Database windows, choose Forms tab.
- Click New to create a Form or click Design to design a existing form.
- In the Toolbox, click
. All controls currently installed on your computer will showed in a popup menu.
- Choose a control you want to use in your form by clicking the name of the control in the popup menu.
- Put the control onto your form.
Start your Borland Delphi design environment
- Choose menu Component|Install.
- In the Install Components dialog box, click OCX....
- In the Import OLE Control dialog box, choose a control which you want to use in your application in the Registered Controls list and click OK.
- Click the OCX tab at the Toolbar. The icon of the control you choose is showed on the Toolbar.
- Click the icon to choose a control and put the control on the form.
Start your Microsoft Developer Studio with Visual C++ 4.x installed
If you only use the OCX in the dialog box
- Click the ResourceView tab to choose the resource edit.
- Double-click the dialog's name to edit the dialog
- Right-click the dialog and choose Insert OLE Control... from the pop-up menu.
- Choose the Animation GIF Control from the OLE control list and click OK.
- Then put the control on the dialog
If you want to use the OCX in your project
- Load the project
- Choose menu Insert|Component...
- Choose the OLE Controls tab
- Choose the Animation GIF Control and click Insert
- Visual C++ will generate two class CAniGif and CPicture
- Then you can define variable of the type as CAniGif.
Start your Visual Studio 97 with Visual C++ 5.0 installed
If you only use the OCX in the dialog box
- Click the ResourceView tab to choose the resource edit.
- Double-click the dialog's name to edit the dialog
- Right-click the dialog and choose Insert ActiveX Control... from the pop-up menu.
- Choose the Animation GIF Control from the ActiveX control list and click OK.
- Then put the control on the dialog
If you want to use the OCX in your project
- Load the project
- Choose menu Project|Add To Project|Components and Controls...
- Open the Registered ActiveX Control gallery
- Choose the Animation GIF Control and click Insert
- Visual C++ will generate two class CAniGif and CPicture
- Then you can define variable of the type as CAniGif.
Your comments and any suggestion are welcomed.
You can send me E-mail or sign my guest book.
This page is for information realted to anigif, animation, gif, ocx, activex, anigif.ocx, 2.0, windows, vb, vc, vfc, visual basic, visual c++, vs.net, visual studio, c#, .NET, network, internet, video, movie, avi, rm, rmvb, real player, crack, serial#, registration key, free, msdn, 1991, 1992, 1993, 1994, 1995, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, january, february, google, yahoo, ebay, windows 2000, windows 2003, windows xp, absolute URL, ActiveX control, ADISAPI, Advanced Data Internet Server Application Programming Interface, aggregate function, alias, apartment threading, asynchronous operation, binding entry, bitmask, bookmark, business object, business rule, calculated expression, chapter, chapter-alias, character set, child, child-alias, class identifier, CLSID, client tier, COM, COM component, comparison operator, component, Component Object Model, compound file, constant, cursor, data binding, data definition language, data manipulation language, data provider, data shaping, data source name, data source tier, DCOM, DDL, default stream, disconnected recordset, distributed application, Distributed Component Object Model, DLL, DML, document source provider, DSN, dynamic-link library, dynamic property, enumeration, event, event handler, handler, hierarchical recordset, hierarchy, Internet Server Application Programming Interface, ISAPI, key, marshaling, middle tier, MIME, Multi-purpose Internet Mail Extension, node, object variable, ODBC, OLE DB, Open Database Connectivity, optimistic locking, ordinal value, parameterized command, parent, parent-alias, parent-child relationship, persist, pessimistic locking, pooling, ProgID, programmatic identifier, proxy, relative URL, remote data source, resource record, root, rowset, schema, scope, service provider, shaped Recordset, sibling, stored procedure, stub, sub-node, synchronous operation, tree, Uniform Resource Locator, URL, Web server, ActiveX OCX Shareware Freeware Animation GIF OLE Custom Border Title System Info Registry OpenGL Shape Splitter Window Scrollable Container Visual Basic C++ PowerBuilder Delphi Animation Icon Tray Button CheckBox OptionButton,ActiveX,OCX,Shareware,Freeware,Animation GIF,Animation GIF ActiveX,OLE,Custom,Border,Title,System Info,Registry,OpenGL,Shape,Splitter Window,Scrollable Container,Visual Basic,C++,PowerBuilder,Delphi,Animation Icon,Tray,Button,CheckBox,OptionButton