You are currently offline, waiting for your internet to reconnect

HOW TO: Find Office Web Components (OWC) Programming Documentation and Samples

Summary
This article shows the different ways that you can access the documentation for Microsoft Office Web Components (OWC). The article also includes information about additional resources for programming the OWC.

back to the top

Using Office Web Components Reference


The following table shows the Help files that are installed by Office Web Components. To open these Help files, locate the appropriate directory in Windows Explorer, and then double-click the file that you want.

Component NameOffice Web Components 9.0Office XP Web ComponentsOffice 2003 Web ComponentsDescription
ChartMSOWCDCH.chmOWCDCH10.chmOWCDCH11.chmChart component design-time reference
PivotTableMSOWCDPL.chmOWCDPL10.chmOWCDPL11.chmPivotTable component design-time reference
SpreadsheetMSOWCDSS.chmOWCDSS10.chmOWCDSS11.chmSpreadsheet component design-time reference
SpreadsheetMSOWCFUN.chmOWCFUN10.chmOWCFUN11.chmSpreadsheet component built-in function reference
DataSource, Chart, PivotTable and SpreadsheetMSOWCVBA.chmOWCVBA10.chmOWCVBA11.chmProgramming reference for all components


NOTE: By default, the Help files for Office Web Components 9.0 are installed in the %SystemDrive%\Program Files\Microsoft Office\Office\1033 folder. By default, the Help files for Office XP Web Components are installed in the %SystemDrive%\Program Files\Common Files\Microsoft Shared\Web Components\10\1033 folder. By default, the Help files for Office 2003 Web Components are installed in the %SystemDrive%:\Program Files\Common Files\Microsoft Shared\Web Components\11\1033 folder.

back to the top

Using Context-Sensitive Help in Microsoft Visual Basic 6.0

The following steps show you how to get design-time help for Office Web Components.
  1. In Microsoft Visual Basic 6.0, right-click the toolbox, and then select Components.
  2. Select Microsoft Office Web Components 9.0, Microsoft Office XP Web Components, or Microsoft Office Web Components 11.0, and then click OK.
  3. Select a Web component from the toolbox, and then draw it on a form.
  4. To get design-time help for the control, click Help on the toolbar of the control. You can also press F1 while the control has focus.
The following steps show you how to get programming help.
  1. In the code window, select the method or the property about which you want help.
  2. Press F1.
NOTE: With Microsoft Visual Studio .NET, you cannot access context-sensitive help by pressing F1. To get design-time help or programming help, click Help on the toolbar of the control.

back to the top

Using the Object Browser

You can use the Object Browser to view the classes of a Web component. You can also view the properties, the methods, the events, and the constants that are associated with the objects of each class. The following steps show you how to get help for the classes, the methods, and the properties of the Web components.
  1. In Visual Basic 6.0, right-click the toolbox, and then select Components.
  2. Select the Microsoft Office Web Components 9.0, the Microsoft Office XP Web Components, or the Microsoft Office Web Components 11.0, and then click OK.
  3. Select a Web component from the toolbox, and then draw it on a form.
  4. Press F2 to open the Object Browser.
  5. Select the name of the type library from the Project/Library list. The Office Web Components 9.0 library name is OWC. The Office XP Web Components library name is OWC10. The Office 2003 Web Components library name is OWC11. The Object Browser will display available classes in the Classes list.
  6. Select a class, a method, or a property.
  7. Press F1 to get help on the selected item.
back to the top

Additional Resources for Programming the OWC

For more information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
235885 HOWTO: Use the Chart Web Component with Visual Basic
235883 HOWTO: Use the Spreadsheet Web Component with Visual Basic
235542 HOWTO: Use the PivotTable Office Web Component with Visual Basic
For more information, visit the following Microsoft Web sites:
Microsoft Office XP Web Component Toolpack
http://msdn.microsoft.com/en-us/library/aa155751.aspx

Microsoft Office Development with Visual Studio
http://msdn2.microsoft.com/en-us/library/aa188489(office.10).aspx

Microsoft Office Web Components Public Newsgroup
news:microsoft.public.office.developer.web.components
back to the top
OFF2000 OFF2002 OFF2003 ACC2000 ACC2002 ACC2003
Properties

Article ID: 319793 - Last Review: 06/19/2014 14:37:00 - Revision: 5.0

  • kbhowtomaster kbofficewebchart kbofficewebpivot kbofficewebspread KB319793
Feedback