Microsoft KB Archive/319793

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

Article ID: 319793

Article Last Modified on 1/17/2007

-

APPLIES TO


 * Microsoft Office Chart Component 9.0
 * Microsoft Office PivotTable Component 9.0
 * Microsoft Office Spreadsheet Component 9.0
 * Microsoft Office Web Components
 * Microsoft Office Web Components

-



This article was previously published under Q319793





IN THIS TASK
SUMMARY
 * Using Microsoft Office Web Components Reference
 * Using Context-Sensitive Help in Microsoft Visual Basic 6.0
 * Using the Object Browser
 * Additional Resources for Programming the OWC



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.

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/library/default.asp?url=/downloads/list/officedev.asp

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

Additional query words: OFF2000 OFF2002 OFF2003 ACC2000 ACC2002 ACC2003

Keywords: kbhowtomaster kbofficewebchart kbofficewebpivot kbofficewebspread KB319793

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.