To use this Web page interactively, you must have Microsoft Internet Explorer 4.01 Service Pack 1 (SP) or later and the Microsoft Office XP Web Components.
Click here to install the Office XP Web Components.
See the Microsoft Office Web site for more information.
Depending on whether the Web page is on your intranet or on the Internet, you may have to manually modify the download location that is specified by the Click here to install the Office XP Web Components link. This article provides the methods to modify this information for computers that have to install the Microsoft Office XP Web Components over an intranet and also over the Internet.Click here to install the Office XP Web Components.
See the Microsoft Office Web site for more information.
NOTE: To use HTML documents that contain the Office Spreadsheet, Office PivotTable, or Office Chart components, you need Microsoft Internet Explorer version 4.01 or later. To browse a data access page that was created with Microsoft Access 2002, you need Microsoft Internet Explorer version 5 or later.
Installation over an Intranet
By default, when you publish a Web page, the link to install the Office Web Components points to the location from which you originally installed Office XP. If the Office installation location was a network server that is accessible by all users in your organization, you may not have to make any modifications to your Web pages. However, if you want to, you can set up your Web pages so that the link to install the Office XP Web Components points to any server on your network.To specify the download location for the Office XP Web Components Setup program, you must define the Setup location when you design the component and before you save the Web page. To do this, follow these steps for the Office program that you are using to publish your Web pages.
NOTE: You can specify either a File URL or an HTTP URL in these steps.
Microsoft Excel 2002
- On the Tools menu, click Options.
- Click the General tab, and then click the Web Options button.
- Click the Files tab.
- In the Office Controls area, follow these steps:
- Click to select the Download Office Web Components check box.
- In the Location box, type the path to the root of the Office XP share point, and then click OK.
When Excel creates the Web page, the full path to Setup.exe for the Office XP Web Components installation is automatically created. For example, if you specify http://server/Officexp in the Location box, the path http://server/Officexp/Files/OWC/Setup.exe is written into the Web page.
- Click OK.
Microsoft FrontPage 2002
When you insert one of the Office Web Components into a Web page, the path for the Web Components installer is automatically added. You can change this path by using the following steps, but this only changes the path on the active page. If you want to change the path for any page into which you insert one of the Office Web Components, follow the steps in the "Microsoft Excel 2002" section earlier in this article, or modify the registry information in the "Related Registry Information" section later in this article.- Right-click the component, and then click ActiveX Control Properties.
- Click the Object Tag tab.
- In the HTML box in the Alternative Representation area, scroll through the text, and then modify the path to \Files\OWC\Setup.exe. Click Apply and then click OK.
Microsoft Access 2002
- Open or create a data access page.
- On the Tools menu, click Options.
- In the Web Options dialog box, click the Files tab.
- In the Office Controls area, follow these steps:
- Select the Download Office Web Components check box.
- In the Location box, type the path to the Office XP share point. For example, if you specify http://server/Officexp in the Location box, the path http://server/Officexp/Files/OWC/Setup.exe is written into the Web page.
- Click OK.
Licensing Considerations
By default, if a user does not have Office XP, Access 2002, Excel 2002, or FrontPage 2002 installed on their computer, and the user installs the Office Web Components, the user receives a Run-time Static license for the Office XP Web Components. This means the user can view the controls on a Web page but cannot interact with the controls. Organizations that own an Enterprise, Select, or Maintenance Agreement for Office XP and that plan to deploy Office XP in phases can allow early adopters of Office XP to share component-based Web pages with users who have not yet installed Office XP. To do this, follow these steps to use the licensing mechanism supported by Microsoft Internet Explorer:- Obtain a copy of Lpk_Tool.exe, which is included with Visual Studio (CD 2 of the Professional Edition and CD 3 of the Enterprise Edition).
- Copy LPK_Tool.exe to a computer where the Office XP Web Components are already installed.
- Double-click LPK_Tool.exe.
- In the License Package Authoring Tool dialog box, select the following items in the Available controls list:
- Microsoft Office Chart 10.0
- Microsoft Office PivotTable 10.0
- Microsoft Office Spreadsheet 10.0
- Click Add.
- Click Save & Exit.
- In the Save As dialog box, specify a name for the .lpk file, and then click Save.
- Click OK to the message that advises that you that the License Package file was created successfully.
- Copy the .lpk file that you created into the same folder as the file that contains the Office XP Web Components on your Web server.
- In a text editor, open the file that contains the Office XP Web Components.
- Insert the following text in the <BODY> section of the document, and note that the text must appear in the first <OBJECT> tag in the <BODY>section:NOTE: The only text that you have to modify from the example is the name of the .lpk license file. The example uses License.lpk, which you replace with the path and name of the .lpk file that you created. Keep the Name property of the <PARAM> tag as "LPKPath", and set the Value property for the <PARAM> tag of the License Manager object to the LPK file name and path. This path may be a relative path but must not refer to a UNC share or a URL on another domain.
<OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331"> <PARAM NAME="LPKPath" VALUE="license.lpk"> </OBJECT>
For example:
Assume the HTML file is located on \\server\share\myPage.html, and assume the license file is located one level deeper, on \\server\share\LPK\License.lpk. In this case, the HTML code will be as follows:For additional information about licensing ActiveX controls, click the article number below to view the article in the Microsoft Knowledge Base:<OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331"> <PARAM NAME="LPKPath" VALUE="LPK\License.lpk"> </OBJECT>
159923 How To Use Licensed ActiveX Controls in Internet Explorer - Save and close the document.
For more information about licensing Microsoft ActiveX controls, see the following Microsoft Web page: For additional information about licensing considerations for the Office XP Web Components, click the article number below to view the article in the Microsoft Knowledge Base:
288729 OFFXP: General Information About Licensing and Using Office XP Web Components
Installation over the Internet
By default, when you publish a Web page, the link to install the Office Web Components points to the location from which you originally installed Office XP. Therefore, if a user browses to your Web page, but does not have the Office XP Web Components installed, the user cannot install the Office XP Web Components from your installation source.The Office XP Web Components are available from the following Microsoft Web sites:
You can modify your Web pages to reference this location for the installation of the Office XP Web Components.
To specify the Tools on the Web download location for the Office XP Web Components Setup program, you must define the location when you design the component and before you save the Web page. To do this, follow these steps for the Office program that you use to publish your Web pages.
Excel 2002
- On the Tools menu, click Options.
- Click the General tab.
- Click the Web Options button.
- Click the Files tab.
- In the Office Controls area, follow these steps:
- Click to select the Download Office Web Components check box.
- In the Location box, type the path to the following Tools on the Web site, and then click OK:
- Click OK.
FrontPage 2002
When you insert one of the Office Web Components into a Web page, the path for the Web Components installer is automatically added. You can change this path by using the following steps, but this only changes the path on the active page. If you want to change the path for any page into which you insert one of the Office Web Components, follow the steps in the "Microsoft Excel 2002" section earlier in this article, or modify the registry information in the "Related Registry Information" section later in this article.- Right-click the component, and then click ActiveX Control Properties.
- Click the Object Tag tab.
- In the HTML box in the Alternative Representation area, scroll through the text, and then modify the path to the following download location on the Tools on the following Microsoft Web site:
- Click Apply
- Click OK.
Access 2002: After You Open an MDB File
- Create a data access page.
- On the Tools menu, click Options.
- In the Options dialog box, click the General tab.
- Click the Web Options button.
- In the Web Options dialog box, click the Files tab.
- In the Office Controls area, follow these steps:
- Click to select the Download Office Web Components check box.
- In the Location box, type the path to the following "Tools on the Web" Web site, and then click OK: http://officeupdate.microsoft.com/office/redirect/10/owcsetup.asp?HelpLCID=1033
Access 2002: Open a Data Access Page Directly
- Open a Data Access Page.
- On the Tools menu, click Options.
- In the Web Options dialog box, click the Files tab.
- In the Office Controls area, follow these steps:
- Click to select the Download Office Web Components check box.
- In the Location box, type the path to the following "Tools on the Web" Web site, and then click OK:http://officeupdate.microsoft.com/office/redirect/10/owcsetup.asp?HelpLCID=1033
Licensing Considerations
By default, if a user does not have Office XP, Access 2002, Excel 2002, or FrontPage 2002 installed on their computer, and the user installs the Office Web Components, the user receives a Run-time Static license for the Office XP Web Components. This means that the user can view the controls on a Web page but cannot interact with the controls. This includes the Office Web Components downloaded from the Tools on the Web site.Related Registry Information
When you install Office XP, the location used to install the Office XP Web Components is written into the registry at the following location:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\10.0\Common\Internet
Value Name: LocationOfComponents
Value Type: String (REG_SZ)
Value: Text string pointing to original install point
If you modify the location by using one of the methods listed earlier in this article, the path specified for the LocationOfComponents string value changes accordingly.Value Name: LocationOfComponents
Value Type: String (REG_SZ)
Value: Text string pointing to original install point