Office OCX & Office Component

Embedding MS Word, Excel and PowerPoint with Edraw Office Viewer Component

How to User 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


Microsoft Visual Basic 4.0

Start your Visual Basic 4,0 design environment and load your project.

  1. Choose menu Tools|Custom Controls... or press Ctrl+T or right-click the Toolbox and choose Custom Controls... in the popup menu.

  2. In the Custom Controls dialog, find which control you want to use in your project from the Available Controls list.

  3. Set the check box before the controls you want then click the OK in the Custom Controls dialog.

  4. 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 Basic 5.0

Start your Visual Basic 5.0 design environment and load your project.

  1. Choose menu Project|Components... or press Ctrl+T or right-click the Toolbox and choose Components... in the popup menu.

  2. In the Components dialog, select Controls tab, find which control you want to use in your project from the controls list.

  3. Set the check box before the controls you want then click the OK in the Components dialog.

  4. 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

  1. Choose menu Tools|Options...

  2. In the Options dialog, select Controls tab and select the OLE Controls radio button and the Controls check box.

  3. Find which control you want to use in your project from the controls list.

  4. Set the check box before the controls you want then click OK in the Options dialog.

  5. Start the form Designer by loading the existing form or creating a new form.

  6. Click button on the Form Controls toolbar and choose OLE Controls from the popup menu.

  7. 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

  1. Choose menu Tools|Macro|Visual Basic Editor or press ALT-F11.

  2. The Microsoft Visual Basic for Application design interface appears.

  3. 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.

  4. Find which control you want to use in your project from the Available Controls list.

  5. Set the check box before the controls you want then click OK in the Additional Controls dialog.

  6. 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.


Microsoft Access

Start your Microsoft Access and load a existing database or create a new database

  1. In the Database windows, choose Forms tab.

  2. Click New to create a Form or click Design to design a existing form.

  3. In the Toolbox, click . All controls currently installed on your computer will showed in a popup menu.

  4. Choose a control you want to use in your form by clicking the name of the control in the popup menu.

  5. Put the control onto your form.


Borland Delphi 2.0

Start your Borland Delphi design environment

  1. Choose menu Component|Install.

  2. In the Install Components dialog box, click OCX....

  3. 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.

  4. Click the OCX tab at the Toolbar. The icon of the control you choose is showed on the Toolbar.

  5. Click the icon to choose a control and put the control on the form.


Microsoft Visual C++ 4.x

Start your Microsoft Developer Studio with Visual C++ 4.x installed

If you only use the OCX in the dialog box

  1. Click the ResourceView tab to choose the resource edit.

  2. Double-click the dialog's name to edit the dialog

  3. Right-click the dialog and choose Insert OLE Control... from the pop-up menu.

  4. Choose the Animation GIF Control from the OLE control list and click OK.

  5. Then put the control on the dialog

If you want to use the OCX in your project

  1. Load the project

  2. Choose menu Insert|Component...

  3. Choose the OLE Controls tab

  4. Choose the Animation GIF Control and click Insert

  5. Visual C++ will generate two class CAniGif and CPicture

  6. Then you can define variable of the type as CAniGif.


Microsoft Visual C++ 5.0

Start your Visual Studio 97 with Visual C++ 5.0 installed

If you only use the OCX in the dialog box

  1. Click the ResourceView tab to choose the resource edit.

  2. Double-click the dialog's name to edit the dialog

  3. Right-click the dialog and choose Insert ActiveX Control... from the pop-up menu.

  4. Choose the Animation GIF Control from the ActiveX control list and click OK.

  5. Then put the control on the dialog

If you want to use the OCX in your project

  1. Load the project

  2. Choose menu Project|Add To Project|Components and Controls...

  3. Open the Registered ActiveX Control gallery

  4. Choose the Animation GIF Control and click Insert

  5. Visual C++ will generate two class CAniGif and CPicture

  6. Then you can define variable of the type as CAniGif.

Pick Products>>
Edraw Max

flowchart, organizational chart, network diagram software

Lightweight yet incredibly powerful diagramming tool with rich examples and stencils. Easy to create professional-looking flowcharts, network diagrams, organizational charts and more. Free Download

Documents>>
What's new in the Edraw Office Viewer Component
Embed Word, Excel, PowerPoint in your form or web page
How To embed and automate Office documents with Visual Basic
ActiveX Control Digital Signatures / Code Signing
Office Automation Support
Host multiple office viewer component in a form
Upload a file to web server in ASP.NET
How to allow download the unsigned ActiveX control
Solution for the click to activate and user the control
ActiveX Control Digital Signatures / Code Signing
Office Automation Support
Host multiple office viewer component in a form
Upload a file to web server in ASP.NET
How to allow download the unsigned ActiveX control
Relative Resource>>
 

Home | Products | Order | Download | Support | Exchange Link | Contact | Site Map

Copyright © 2004-2012 Office OCX Software. All rights reserved.