Software Search, Categories and Specials
Ozgrid, Experts in Microsoft Excel Spreadsheets
Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com

Active DataXL - Download

 

AnalyserXL - Download

 

DownloaderXL - Download

 

Smart VBA - Download

 

TraderXL - Download

Office Viewer ActiveX Control

 

Microsoft Excel Training/ EXCEL DASHBOARD REPORTS

FREE DOWNLOADS SmartVBA | SmartVB6 | CodeVBA | CodeVB6 | Code Generator Pro | TraderXL Pro Package. MORE..

Office Viewer ActiveX Control. Lets Applications Display & Interact with Microsoft Office Files Like Word, Excel & PowerPoint

Office Viewer ActiveX Control enables your application to display and interact with Microsoft Office files such as Word, Excel, PowerPoint, Project and Visio. Simply place the OCX on your form, you can have all the office functions. Offer some custom properties to set border, Color, Font, print, hide/show toolbar, hide/show caption, etc.

Office Viewer ActiveX Control enables your application to display and interact with Microsoft Office files such as Word, Excel and PowerPoint.
Simply place the OCX on your form, you can have all the office functions.

Offer some custom properties to set border, Color, Font, print, hide/show toolbar, hide/show caption, etc.

Features:

1. An easy-to-use Office Viewer ActiveX Control builds office applications rapidly.
2. Easily create online office viewer applications with the OCX.
3. Support Microsoft Office Word, Excel and PowerPoint.
4. Offer some custom properties to set border, Color, Font, print, hide/show toolbar, hide/show caption, etc.
5. It can be easily integrated into applications written in languages that support ActiveX control such as Visual C++, Visual Basic, Delphi, C++ Builder and .Net languages.

How to add Office Viewer ActiveX Control to your Visual Basic 6.0 project

  1. From the Project Menu select Components�
  2. Select control �EOffice ActiveX Control�
  3. Click the OK Button
  4. The control will now appear in your toolbox
  5. Drag and drop the control on your form
  6. You can set all properties such as Name, Border, Color, Font, Print, hide/show toolbar, hide/show caption, etc.
  7. There are some methods and properties to operator the office control.

 

Method Parameter Enum Type Details
ShowDialog [in] ShowDialogType DlgType typedef enum ShowDialogType{ DialogNew = 0, DialogOpen, DialogSave, DialogSaveCopy, DialogPrint, DialogPageSetup, DialogProperties }ShowDialogType; Displays a modal dialog of the given type for user action.
Open VARIANT Document, [in, optional] VARIANT ReadOnly, [in, optional] VARIANT ProgId, [in, optional] VARIANT WebUsername, [in, optional] VARIANT WebPassword   Opens a document from a file, URL, or Automation object.
Save [in, optional] VARIANT SaveAsDocument, [in, optional] VARIANT OverwriteExisting, [in, optional] VARIANT WebUsername, [in, optional] VARIANT WebPassword   Saves the document to specified location or its original location.
CreateNew [in] BSTR ProgId   Creates a new document based on the ProgId.
PrintOut [in, optional] VARIANT PromptToSelectPrinter   Prints the currently open document.
Close     Closes the currently open document.
Caption [in] BSTR bstr   Returns/sets the titlebar caption.
Titlebar [in] boolean vbool   Returns/sets whether the titlebar should be displayed.
BorderStyle BorderNone = 0,        BorderFlat,        Border3D,        Border3DThin typedef enum BorderStyle{ BorderNone = 0, BorderFlat, Border3D, Border3DThin }BorderStyle; Returns/sets the border style for the control.
BorderColor [in] OLE_COLOR clr   Returns/sets the border color of the control.
BackColor [in] OLE_COLOR clr   Returns/sets the background color of the control.
TitlebarColor [in] OLE_COLOR clr   Returns/sets the color of the titlebar.
TitlebarTextColor [in] OLE_COLOR clr   Returns/sets the color of text for the titlebar.

For Example:

Private Sub Command1_Click(Index As Integer)

EOfficeControl.ShowDialog (DialogNew)

End Sub

Private Sub Command2_Click(Index As Integer)

EOfficeControl.ShowDialog (DialogOpen)

End Sub

Private Sub Command3_Click(Index As Integer)

Dim sUrl

   On Error Resume Next

   sUrl = InputBox("Type the URL to a file on a Web Folder...", , "http://[server]/[folder]/test.doc")

   If Len(sUrl) Then

     EOfficeControl.Open sUrl

     If Err.Number Then

       MsgBox "Unable to Open URL: " & Err.Description

     End If

   End If

End Sub

Private Sub Command4_Click(Index As Integer)

  EOfficeControl.Close

End Sub

Office Viewer ActiveX Control   Secure Payment Options|| Download Demo! 30-day money-back guarantee

Order Type:

Special! Free Choice of Complete Excel Training Course OR Excel Add-ins Collection on all purchases totaling over $70.00. ALL purchases totaling over $150.00 gets you BOTH! Purchases MUST be made via this site. Send payment proof to [email protected] 31 days after purchase date.

See Also: Data Form ActiveX Control & Data Entry ActiveX Control & Excel OCX & Word OCX



Instant Download and Money Back Guarantee on Most Software

Microsoft Excel Training/ EXCEL DASHBOARD REPORTS

Excel Trader Package Technical Analysis in Excel With $139.00 of FREE software!

Microsoft � and Microsoft Excel � are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft