Programming MS Office 2000 Web Components Chapter I Section 3

Source: Internet
Author: User
Tags microsoft frontpage microsoft outlook

Where can I use these components?

 

SinceOffice Web ComponentsAllComControls, you naturally want them to beComControl container environment. However, theories and reality are not always the same, especially in the software world. Microsoft has created many environments that can contain controls.(Our team can just speak out.16Items)While other companies have created many other environments.

To avoidOfficeThe test team is crazy. We have different levelsOffice Web ComponentsTest. First, we selected the containers that we thought were the most widely used and conducted a full test. Then, we conducted basic and special tests in containers that are not often used. Finally, we organize some containers to form"No formal tests are performed, but no catastrophic consequences will occur during use.". Table1-1The containers in this range are displayed.

Table1-1. Tested containers.

Container

Test Coverage

Microsoft Iot explorer 5.0

Full

Microsoft Iot Explorer 4.01

Full

Microsoft Internet Explorer 3.x

Not Supported

Microsoft Visual Basic 6.0

Full

Microsoft Visual Basic 5.0

Basic

Microsoft Visual InterDev

Basic

Microsoft Access forms

Basic

Microsoft Office userforms

Basic

Microsoft Frontpage 99

Full

Microsoft FrontPage 98

Basic

Microsoft accesskey 2000 data access page designer

Full

Microsoft Script Editor

Full

Microsoft Word 2000

Basic

In Microsoft Excel 2000

Basic

Microsoft PowerPoint 2000

Basic

Microsoft Outlook 2000

Basic

Microsoft Visual C ++/mfc Projects

None

Microsoft Visual J ++

None

 

Also, note that in different containers, the design behavior of controls is very different. BecauseOffice Web ComponentsIt is a very complex control, and it is often necessary to select elements inside the control(For example, a unit in a workbook, a perspective field in a data perspective report, or a series of data points in a chart)And format or process these elements. To implement this function, the control is activated on the interface in the container that allows the control interface to be activated, which means the control responds to mouse and keyboard events. Any modifications made to the control in design mode will be retained together with the document or form when the control is reloaded during running, this makes the control look exactly the same when it is reset as when you save them. Some containers enable the control interface immediately when you click the control. In other containers, double-click the control. There are other containers that require you to activate these controls by clicking twice. These actions are completely determined by the container. Therefore, please refer to the container documentation to learn how containers are processed in the design phase.ComControl.

Note that the above does not affect the behavior of the control during running. During running, all containers will activate the control interface after the control is loaded. But some environments, suchOfficeBecause you are always editing the currently loaded documents, they will never enter the running status. WhileInternet exlporer, Visual Basic, Visual C ++, access formsAndOfficeThe user interface has the runtime mode, during which the control is immediately activated.

 

Data access page andInternet Explorer 5

If you read anyAccess2000You may see some statements, telling you that you can onlyInternet assumer5Or later. Although this is true, this statement generally does not applyOffice Web Components. These components can beInternet Explorer 4.01But they cannot be used in any earlier version.(4.0, 3.x, 2.xAnd so on.). This version requirement also applies to any useExcel2000Created Interactive Content(Use during creationOffice Web Components)It is also applicable to custom solutions developed using these components. Data access page needsInternet assumer5This is why they can only run in this environment. However,Office Web ComponentsIt can be used in the tested containers listed above.

 

Use on the serverOffice Web Components

As mentioned above,Office Web ComponentsThat is, it can reside in a form, document, or webpage as a control, or in the memory as an object without a user interface. Each control provides an attribute or method to return the static representation of the current content of the control. The chart and PivotTable controls allow you to createGIFWhile the workbook control can returnHtmlOr a complete page.Html3.2Compatible browser. All of this means that you canWebThese controls are used on the server to generate chart charts and data perspective reports on the server, or to recalculate the spreadsheet model on the server. I will demonstrate some of these skills in the second part of this book.

 

In addition to discussing how to use these controls on the server, we will also examine a number of more detailed questions at the back of this book, such as performance, scalability, and reliability.

 

DepartmentAgency

Based onWebOne of the most attractive aspects of the solution is that applications are not needed.Program. What needs to be done is either programming in the form of scripts in the page, orAppletsOrComControls are automatically downloaded.Office Web ComponentsUseInternet ExplorerOfCodebaseFeatures to enable deployment and automatic update without installation. These components also include a matureWebInstall the tool to make the download process very interesting. And,OwcTechnically, it does not depend onOffice 2000, So it canOffice97The environment coexist, and no installation is available.OfficeThe software is used on the machine.

In12This chapter covers all aspects of the deployment task and how to establish automatic deployment.Owc.

How about Netscape Navigator?

 

When I talk to other users at seminarsOffice Web ComponentsSome people always ask this question: "These components can beNetscape Navigator?" The answer is "no," but here are some things to explain.

Netscape Navigator 4.5Not SupportedComControl, so if no plug-ins are installed,Office Web ComponentsCannot even beNetscape navigaotorLoad. However,Ncompass labsIsNetscape NavigatorDeveloped a controlNetscape NavigatorYou canWebPage ControlComControl. If you have installed this plug-in, you canNetscape NavigatorAre these components used? The answer is "depending on the situation". Here are some things to explain.

 

You may useOwcCreate a number of solutions that contain communication between components-for example, binding to a PivotTable or a chart on a spreadsheet, or binding to a spreadsheet unit on other element attributes on the page. These solutions requireInternet ExplorerSupported functions. Even if you have installedNcompassPlug-inNetscape NavigatorThese features are not available, so these solutions cannotNetscape Navigator.

 

A solution that uses a single component or multiple components that do not communicate with each other is possible inNetscape Navigator. However, this is one of the containers that our test team has not studied, so I cannot guarantee it will succeed.

 

You should remember that, in any case, the static content generated by the control on the server can beNetscape NavigatorAndInternet Explorer. Therefore, if your runtime environment needs to support two browsers, you mayWeb ServerMethods of using these components and solutions that demonstrate the technologies that implement these features are of interest.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.