Random Options Inlinks Browse Raw Live Wayback Source Home Archives: pcpress
http://www.microsoft.com/TechNet/desk/office/of95slen.htm (PC Press Internet CD, 1996-03-18)
Updated : September 1, 1995
CD article first appeared on: September 1995

TechNet logo Go To TechNet Home Page

MS Office for Windows 95 Solutions Enhancements Guide


Copyright © 1995 Microsoft Corporation. All rights reserved. The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT.Microsoft, PivotTable, PowerPoint, Visual Basic, Visual C++, and Windows are either registered trademarks or trademarks of Microsoft in the United States and/or other countries.Micrografx and Picture Publisher are registered trademarks of Micrografx, Inc.Visio is a registered trademark of Visio Corporation.

Part Number

098-61043


Contents

Document Contents Top Page

Building Solutions with Microsoft Office

While Microsoft Office® is regarded as powerful suite of desktop applications, Office is also a very powerful development platform for creating custom solutions. Three technologies make Office a compelling solutions platform - powerful applications which expose their functionality as programmable OLE objects, common programming languages, and support for OLE. These technologies work together, allowing the developer to create more powerful applications in less time, while writing less code. In addition, the software that users are already familiar with will be used.

This document is a guide to the enhancements that have been made to Microsoft Office for Windows® 95 to make development with Microsoft Office even easier. For more information on the new features of Microsoft Office for Windows 95, see the Microsoft Office for Windows 95 Product Enhancements Guide.

Document Contents


Powerful Objects, Reusable and Programmable

At the heart of Office Solutions is the functionality provided by the features in the Microsoft Office products. Now you can incorporate even more of these features into your own solutions by using OLE Automation to control the richest sets of programmable objects of any development platform available on the market. In total, Office provides over 300 programmable OLE objects, representing millions of lines of code written by Microsoft in-house developers. By using Office objects, developers can create high-quality custom solutions that deliver more power, with less time required to create the solution. The table below displays existing, new and improved OLE object model support provided by Office.

Existing                New                     Improved                    
Microsoft Excel Object  Microsoft Access        Data Access Objects         
Model                   Object Model                                        
Word Object Model       PowerPoint® Object      Additional objects to       
                        Model                   support new features        
Microsoft Project       Schedule+ Object Model                              
Object Model                                                                
                        Binder Object Model                                 
                        OLE Properties                                      

Document Contents


Common Programming Languages

While objects allow developers to create custom solutions with less code, some code must still be written for most solutions. Microsoft Office provides a set of common programming languages, based on the technology of the Visual Basic® programming system, that makes it easy for developers to write code that controls Office objects. While Microsoft's vision is to provide a single programming language in all Office products (Visual Basic for Applications), the common languages available today make it easy to develop custom solutions quickly. The table below shows existing and new support for common program languages.

Existing                           New                                  
Visual Basic for Applications in   Visual Basic for Applications in     
Microsoft Excel                    Microsoft Access                     
Visual Basic for Applications in                                        
Microsoft Project                                                       
Word Basic in Word                                                      

Document Contents


OLE Support

Developers have the need to create solutions that include data from various Office applications, in the same way that a user might need to create a word-processing document that contains a spreadsheet and a chart. Microsoft Office supports OLE features such as embedding and linking, visual editing, and drag and drop. This built-in integration at the user-interface level allows developers to use objects from different applications together in a single custom solution. Further, Microsoft Office supports OLE Automation, which allows developers to use OLE objects from discrete applications together in a single custom solution. OLE Automation Servers are applications that can be controlled by OLE Automation Controllers, and OLE Automation Controllers are languages or applications that can control OLE Automation Servers. Developers are free to combine objects representing data from many different sources into a custom solutions, including objects from third party applications that also support OLE, such as the various Office Compatible applications. The following table lists the Office support for OLE Controllers and Servers.

OLE Automation Controllers and Servers

OLE            OLE Servers                   
Controllers                                  
Microsoft      Microsoft Access              
Access         Schedule+                     
Microsoft      Microsoft Excel               
Excel          Microsoft Word                
Microsoft      Office Binder                 
Project                                      
               Office Document Property      
               Object Library                
               Microsoft PowerPoint          
               Microsoft Project             

In addition to the major changes listed above, there are numerous other enhancements that make developing with Microsoft Office even easier and more efficient than it has been with past versions of Microsoft Office. On the following pages are descriptions of those enhancements, organized by product.

Document Contents


Microsoft Office for Windows 95

Programming with the Microsoft Office Binder

The Microsoft Office Binder is a new feature of Office 95 that provides a common file type for storing multiple Office documents all with a single file (the .obd file). Microsoft Excel for Windows 95, Microsoft Word for Windows 95 and Microsoft PowerPoint for Windows 95 all support the Office Binder and as such, documents from all three of these applications can be stored in a single file (neither Microsoft Access for Windows 95 nor Microsoft Project 4.1 support the Office Binder). Additionally, there are several third party Office Compatible products that support the Binder, including TriSpectives by 3D/Eye, Designer and Picture Publisher® by MicroGrafx® and Visio® by Visio Corporation.

As an OLE object application, the Office Binder provides a very simple object model that can be used for saving, retrieving and printing documents in an Office Binder. Office for Windows 95 must be installed in order to access Office Binder objects through OLE automation. You can access help topics on the various properties and methods associated with Binder objects through the Object Browser - first establish a reference to the Office Binder 1.0 Type Library, and then use the Object Browser to access the various Binder Objects. The Office Binder is rather simple in its structure and the actions that it can perform.

The Binder is characterized by three objects - Binder, Section and Object:

&183; Binder: Object used to reference a Binder file. With the Binder object, Binder files can be opened, sections to a Binder can be added (by calling the Add method on the Sections collection), sections can be printed, and Binder files can be saved.

&183; Section: The Section object is used to reference an embedded file which makes up a section of the binder. Microsoft Excel for Windows 95, Word for Windows 95 and PowerPoint for Windows 95 support the Binder, and therefore files from these applications can be included as sections of a binder. Add a new section to a binder by calling the Add method on the Sections collection, or reference a specific section in the binder by indexing the Sections collection by number or by the name of the section. With the Section object, sections can be activated, deleted and moved. the Object object for accessing the OLE object model of an embedded file can also be accessed through the Section object.

&183; Object: Object is not really a part of the Binder object model, however it serves as an entry point for accessing the object models of files embedded within a binder.

Using Visual Basic for Applications in Microsoft Excel or Microsoft Access, it is possible to create and manipulate Office binders, as well as gain access to the object models associated with files stored within a binder. The Office Binder provides a type library when Office for Windows 95 installed - this allows the developer to establish a reference to the type library from a Visual Basic for Applications module, and then view Binder objects in the Object Browser, as well as take advantage of early binder (declaring object variables of Binder object types and accessing Binder-specific constants). Using the Binder, the developer can create solutions that require storage and distribution of disparate document types within a single file in a single location.

Document Contents


OLE Properties

All of the documents created by any of the Office for Windows 95 applications have OLE properties associated with them. There are both standard properties that are established by the application, and the ability to create custom properties, which are created by the developer or end user. Since these properties are exposed via OLE, they can be programmatically controlled. This is useful in applications involving document management, workflow routing, or applications that are created with the combination of Microsoft Office and Microsoft Exchange public folders.

Document Contents


Microsoft Access for Windows 95

Microsoft Access for Windows 95 has had a significant number of new features and enhancements that will make developing applications in it easier and more powerful than ever before. Although virtually all new features in Microsoft Access are of interest to developers, the following is a list and brief description of those most directly related to using Microsoft Access as a development environment. This section organizes these new features into the following four categories: Visual Basic for Applications, OLE Support and Integration, Data Access Objects, Forms Design and Wizards.

Document Contents


Visual Basic for Applications

Visual Basic for Applications (VBA) provides a consistent language for building solutions across Microsoft Office. Code written in Microsoft Access for Windows 95 can be reused in Microsoft Excel, Microsoft Visual Basic, or Microsoft Project with no changes. This consistent syntax dramatically reduces the learning curve for developers who want to use different Office applications.

Improved Debug Window

The integrated development environment in Microsoft Access for Windows 95 makes debugging easier by providing a persistent debug window that is available at the time of execution. Developers can use this window to inspect variables, execute code real time and view all running procedures while their code is running.

Color-Coded Syntax

The integrated development environment within Microsoft Access for Windows 95 supports color-coded syntax to highlight comments, commands, and errors in Visual Basic for Applications code. Developers are able to set the font size, format, and color for viewing their code.

Demand Loading

Because Microsoft Access for Windows 95 shares Visual Basic for Applications with other Microsoft Office applications, it can take advantage of "demand loading" where library code is loaded into memory only when needed. The result is a dramatic improvement in application performance.

Object Browser

Microsoft Access for Windows 95 includes a sophisticated object browser that allows developers to quickly explore Microsoft Access objects as well as objects of other OLE applications installed on the system. The Object Browser can also be used to insert precise object references into code without the developer having to type them.

graphic

Visual Basic for Applications runtime functions

Developers can call into an extensive function library that is shared across all Visual Basic for Applications applications for statistical, financial, or other pre-written functions. This opens up a much wider library of pre-compiled functions to the developer using Microsoft Access.

Procedure Navigation

The module window in Microsoft Access has drop-down boxes that allow developers to navigate their objects and procedures easily.

graphic

Watch Variables

The interactive development environment supports watch variables that allow for the inspection of variables at runtime, allowing developers to debug their application code. Developers can enter expressions they want to watch and the window displays changes as code is running.

graphic

Conditional Compilation

Developers can set compilation flags within their code to control the resulting behavior of the application. This enables developers to create multiple compilations of their application simply by setting flags in their code. One reason for doing this is to create one application that has system calls, for example, that has multiple compilations so it runs properly on Windows 95 or Windows NT.

Improved Code Editor

The code editor in Microsoft Access for Windows 95 treats an entire module as a stream of text allowing better editing functions, such as search and replace.

Parameter Arrays

Functions can be defined as having arrays as parameters. This allows developers increased flexibility when calling particular functions.

Pre-declared Identifiers

Developers do not have to explicitly declare variables for certain objects within code. For example, Form_Form1.Caption = "Customer Form" will instantiate the form if needed.

Default Control Types

Microsoft Access allows users to define a default control type for each field in their database tables, and Microsoft Access will use that type when dropping the field onto a form. For example, a field could be set to always display as a combo box, and when that field is dragged onto a form, a combo box is built for it.

Tabbed Property Page

Microsoft Access for Windows 95 has a new tabbed property page in form and report design with properties grouped by function.

graphic

Record Dividers Property

Users can control whether or not Microsoft Access displays the line dividing the records on continuous forms.

HasContinued Report Property

Developers can determine whether or not a report section has been continued from a previous page.

Named Parameters

Developers can name parameters for functions, enabling cleaner, more intuitive code viewing.

Optional Arguments

Arguments for functions can now be declared as optional, enabling more flexible functions.

Option Controls Collection

In Microsoft Access for Windows 95, option group controls have a child collection of the controls they contain, allowing developers an easy way to reference those controls.

New Number type-GUID

Developers can define columns to contain globally unique IDs (GUIDs). This new data type was added to the Jet database engine to support replicated databases, and guarantees uniqueness across databases, even on different machines.

WillContinue Report Property

Developers can now better format reports based on whether a report section will span multiple pages.

Document Contents


OLE Support and Integration

OLE Automation Object and Controller

In order to automate common database tasks, Microsoft Access for Windows 95 can drive or be driven from any application that supports OLE automation, including Microsoft Excel, Microsoft Visual Basic, and Microsoft Project. This means that developers will be able to take programmatic control of Microsoft Access functionality-like the reporting engine-from outside Microsoft Access.

PivotTable Wizard

Microsoft Access for Windows 95 includes a PivotTable Wizard that walks users through the creation of Microsoft Excel PivotTable dynamic views based on a Microsoft Access table or query. Using this tool, Microsoft Access users can take advantage of one of the great analysis capabilities in Microsoft Excel directly from within Microsoft Access.

Microsoft Access Forms/Reports from Microsoft Excel

Microsoft Excel users now have an easy way to use the advanced reporting and forms capability within Microsoft Access for Windows 95 directly from their Microsoft Excel worksheet. There is a new updatable ISAM driver that allows users to create new tables in Microsoft Access linked to Microsoft Excel sheets-allowing forms, reports, and queries to work against native Microsoft Excel data.

Briefcase Replication

Using the Windows 95 Briefcase, Microsoft Access for Windows 95 users can work remotely with replicated copies of their databases and then merge those changes back into their master database. In addition, any changes made by the developer in the design master are propagated down to all the replicas. In this way, replication can be used for managing remote changes to data, versioning applications, and network load balancing. In addition, the Access Developers Toolkit will provide documentation and management capabilities for creating applications that include replication.

graphic

Document Contents


Data Access Objects

Extended Data Access Objects (DAO)

Data Access Objects (DAO) have been extended to include programmatic support for things like replication and handling errors through the Errors collection.

Database Properties

Microsoft Access for Windows 95 exposes a variety of database properties that can be used to locate databases via the Windows 95 Find File feature. Users can define custom properties that are exposed to Find File as well.

graphic

Document Contents


Forms Design

Changing Control Types

Microsoft Access for Windows 95 allows users to change control types on their forms and reports "on the fly" without rebuilding the control from scratch. For example, via a right-click menu, a text box control can be "morphed" into a combo box.

graphic

Integrated Custom Control Properties

OLE custom control properties are integrated with the Microsoft Access tabbed property dialog on the Other page. In this way, setting properties on form controls is consistent regardless if the control is a native Microsoft Access control or a third-party OLE control.

Custom Form Properties and Methods

Visual Basic for Applications allows developers to declare public functions and properties allowing form or report code to be called from other modules.

Startup Properties

Microsoft Access for Windows 95 has startup properties that control how a database is opened, eliminating the need for Autoexec macros. Application icons, titles, menu and toolbar defaults, and system hot keys can all be controlled.

graphic

Multi-instance Forms

Developers can now programmatically create multiple instances of the same form, enabling better branching within applications. Each form maintains its own underlying record set and can update data independent of other forms. This allows for applications where, for example, a user who is working with one customer form can pull up additional customer forms if necessary. The user could then switch freely between forms, while Microsoft Access maintains the working environment correctly for each.

Databound OLE Controls

Microsoft Access for Windows 95 has a new container for OLE controls that has a control source property so that an OLE control can be automatically bound to columns in an underlying table or query. The container has also been updated to support the latest OLE controls produced with the Microsoft Visual C++ Control Development Kit.

Calendar Control

Microsoft Access for Windows 95 includes a 32-bit OLE calendar control that can be used to select dates quickly without any code required. The control is simply dropped onto a form, making it easy for an end user to select dates. Changes made to data using the calendar are then stored in the underlying table.

graphic

Custom Shortcut Menus

Developers and users can add their own right-click shortcut menus to controls on forms.

Button Face Customization

Users and developers can now define their own custom button faces for toolbar buttons. These custom buttons can then be used on built in Microsoft Access toolbars or on customized toolbars.

Data Outline Control

The Data Outline Control allows easy browsing of data by displaying an outline. Previously only available in the Microsoft Access Developer's Toolkit, the Data Outline Control is now a standard feature of Microsoft Access. Additionally, performance of the Data Outline Control has been enhanced, and has a new wizard that makes it easy to set it up.

New Image Control

A new image control provides a simple way to include graphical information on forms or reports and improves the display performance of the image. Previously, images were displayed using OLE, which included unnecessary overhead in the process.

graphic

Multi-Select List Boxes

Native list box controls in Microsoft Access for Windows 95 can be either single- or multi-select.

Background Pictures

Users have often asked for the ability to create Microsoft Access forms and reports patterned after existing paper-based copies. Now users can apply bitmaps to the background of their Microsoft Access forms and reports, giving users a familiar interface.

graphic

Format Gridlines

Users can now format how they want gridlines displayed on their datasheet-Raised, Sunken, or Flat. In addition, the gridline colors can be controlled as well.

Sunken:

graphic

Raised:

graphic

Flat:

graphic

ControlTips

Developers and users can easily add their own ScreenTips to controls on forms to communicate the functionality of the control. When the user hovers the mouse over a control that has a custom ControlTip defined, the text is displayed in a small text box underneath the control.

graphic

Styles

Users of Microsoft Access for Windows 95 can choose from a list of pre-defined styles to format their forms/reports. If users define a form or report style they like, the style can be saved as a custom style and applied to new or existing objects within the database.

graphic

Improved LimitToList Behavior

Users can exit combo boxes that are left Null when LimitToList is turned on. Previously, users had to know to choose the esc key to exit a blank combo when LimitToList was turned on.

Cycled Properties

Double-clicking on property definitions in the tabbed property dialog will cycle through the available options. For example, double-clicking successively on the LimitToList property of a combo box will toggle the value between "Yes" and "No."

Format Painter

Consistent with the other Microsoft Office applications, Microsoft Access now has the Format Painter. The Format Painter is used on forms and reports to copy formatting from one control and apply it to other controls. This feature greatly reduces the time it takes to control the look of a form.

graphic

AutoFormat

Consistent with the other Microsoft Office applications, Microsoft Access for Windows 95 can AutoFormat forms and reports to quickly deliver great-looking results. AutoFormat will pull from the list of over 30 professional styles and automatically format a form or report.

Hidden Objects

Developers can unclutter their applications by hiding objects in the Database Explorer. There is a new global option to Show Hidden Objects.

AutoNumber Fields

Microsoft Access for Windows 95 allows users to define columns that receive either an incremented value (counter) or a random value.

Improved List Box/Combo Box Performance

Users will notice that their list and combo boxes will be much faster at locating the desired information.

Control Selector

Consistent with Microsoft Visual Basic, Microsoft Access for Windows 95 now has a control selector drop-down to quickly find and select a control on forms/reports.

graphic

Locking Controls

Microsoft Access for Windows 95 follows the Visual Basic standard double-click method for creating multiple controls on forms and reports.

Triple state check boxes, radio buttons

Radio buttons and check boxes have a TripleState property for selected, unselected, or null.

Document Contents


Wizards

Application Setup Wizard

The Access Developer's Toolkit for Microsoft Access for Windows 95 includes an improved Setup Wizard for distributing applications. Resulting applications have a professional Windows Setup, and do not require users to aquire a separate copy of Microsoft Access.

Application Splitter Wizard

The Application Splitter Wizard separates an application developed with Microsoft Access from its tables and creates a new shared database containing the tables for a multi-user application. This Wizard automates a lengthy process that in the past had to be completed manually by developers. It is another example of how Microsoft Access 95 has been extended with developer productivity in mind.

Lookup Wizard

Users can now set up columns in a table based on lookup values from another table. Instead of displaying a meaningless foreign key value, Microsoft Access can now display a useful lookup value while storing the appropriate key. The Lookup Wizard steps the user through the creation of such a column in a table.

graphic

graphic

Performance Analyzer

Microsoft Access for Windows 95 includes a Performance Analyzer that will examine existing databases and recommend changes to improve application performance. Recommended performance enhancements can be completed automatically, while ideas or suggestions are implemented by the user.

graphic

Document Contents


Microsoft Excel for Windows 95

Microsoft Excel is more than ever before a powerful platform for building custom solutions to meet specific business needs. Rather than spending resources writing low-level code, companies are investing in solutions that use the built-in power of Microsoft Excel for data analysis, charting and presentation.

Performance Enhancements

In Microsoft Excel for Windows 95, a great deal of effort was spent in improving performance. The recalculation engine was rewritten and hand tuned for performance, as well as other common operations that affect end users and developers. The main areas of performance improvements come from recalculation, cut, copy and paste operations, charting and PivotTable dynamic views. Microsoft revised the way PivotTable views stores data in memory to dramatically reduce the amount of memory needed. PivotTable dynamic views in Microsoft Excel for Windows 95 require up to 50 percent less memory than in Microsoft Excel 5.0 for Windows to store the same information. This means that more memory is available so pivot tables work better on the average machine, and operations such as pivoting and refreshing tables are much faster. The following chart graphically illustrates the improvement in some areas of operation.

graphic

Document Contents


Data Access Objects

Data Access Objects (DAO) is a library of objects, properties and methods used as a front end to the Jet Database Engine, also in Microsoft Access. DAO's hierarchical collection of objects is similar to the Microsoft Excel Object Model. From a module in Microsoft Excel, a solution can retrieve, edit or delete data stored in a database, or change the structure of a database. Cell values from a sheet in Microsoft Excel can be inserted into records in a database; data sets can be queried with the result set brought into Microsoft Excel for charting or presentation; and relationships between tables can be changed.

Since DAO is the mechanism that Microsoft Access and Visual Basic programmers use to build database solutions, it is possible to leverage knowledge and code across Microsoft Excel for Windows 95, Microsoft Access for Windows 95, and Visual Basic 3.0 and 4.0. DAO makes writing the existing class of solutions much easier and also enables the development of a whole new class of applications.

Document Contents


Better Visual Basic for Applications Help

The introduction of Visual Basic for Applications in Microsoft Excel 5.0 has generated tremendous interest from users both for automating work using macros and for developing full-fledged custom applications in Microsoft Excel. In Microsoft Excel for Windows 95, Visual Basic for Applications Help has been rewritten to better match the needs and interests of users and solution developers. This new Help will reduce the learning curve for developing in Microsoft Excel.

Document Contents


Object Model Help

Visual Basic for Applications Help features an illustration of the Microsoft Excel Object Model that graphically portrays the hierarchy of objects available to Microsoft Excel users. The illustration has hypertext links that provide the user with topics that discuss the object and its uses. Each topic contains example code that users can copy and paste into their own modules.

graphic

Document Contents


"How To" Help

A section of topics has been written specifically for those who are new to writing code in Microsoft Excel with Visual Basic. In the Help Contents, "Getting Started with Visual Basic" takes users to topics that acquaint them with concepts or to examples of performing common operations using Visual Basic code.

graphic

Document Contents


Data Map (Business Mapping)

Microsoft Excel for Windows 95 includes a new feature for representing data based on a map. Geographic charting is very common in Enterprise Information Systems, and although the Data Map feature cannot be programmatically controlled, it can help make it easier for end users to analyze and understand trends in their data.

graphic

Document Contents


Better Samples

Microsoft Excel for Windows 95 includes a workbook called Examples.xls. This file was created by Microsoft Excel product support engineers and includes real working code to perform common tasks - tasks for which engineers help users design macros every day.

Document Contents


CopyFromRecordset

Since it is common to return a block of records from a database to a Microsoft Excel worksheet, Microsoft Excel for Windows 95 provides the new CopyFromRecordset method. A Recordset is an extremely flexible tool that can hold the results of a query or an entire table. CopyFromRecordset is a Microsoft Excel range method that allows users to copy an entire result set to a range in a sheet instead of copying record by record. The following is an example of how the method is used:

Sub Test1()
Dim db As Database
Dim rs As Recordset
Set db = OpenDatabase("c:\office 95\access\sampapps\nwind.mdb")
Set rs = db.OpenRecordset("Orders")
Worksheets("Sheet1").Range("A2").CopyFromRecordset rs
rs.Close
db.Close
End Sub

Document Contents


Improved Stack Handling

Custom solutions built on Microsoft Excel 5.0 are limited by the segment size of 64KB in Windows 3.1. All instructions being processed are kept on this Stack, and some operations can routinely cause a stack overflow by trying to load too many instructions into the segment. Microsoft Excel for Windows 95 has a virtually unlimited stack segment, so all of these operations are now possible.

Document Contents


Programmability Protection Mode

Developers "bulletproof" Microsoft Excel applications to keep users from wandering out of their custom applications into an uncontrolled area of Microsoft Excel. Once outside the protected area, users may become confused, disrupt settings, or code may not execute properly because of unanticipated situations. Protecting worksheets and workbooks is one way programmers can protect their applications.

However, protecting sheets and books also disables some useful features such as outlining, PivotTable views and AutoFilter. Microsoft Excel for Windows 95 allows developers to set protection that disables user control of these features while still allowing the developer to access them programmatically.

Document Contents


Password Style for Edit Boxes in Custom Dialog Boxes

Traditionally, custom applications ask users to log into a system before using it in order to protect sensitive data. It is common practice to display asterisks instead of characters to hide a user's password from the eyes of passers-by. To do this in Microsoft Excel 5.0, developers had to build and call an external DLL. In Microsoft Excel for Windows 95, when developers put an edit box on a custom dialog, they can format it to display asterisks instead of characters.

Document Contents


Cursor Control

A common reason Microsoft Excel 5.0 programmers previously called the Windows API was to change the mouse cursor's shape - for example, to an hourglass while executing a query. Microsoft Excel for Windows 95 introduces the Application Cursor property, so developers can set the shape directly in code.

Document Contents


OLE Properties

File summary information is exposed as OLE objects as well as key user definable information. This enables rich, content-based searching, browsing and viewing in Microsoft Exchange public folders. In addition, these properties can be used to identify characteristics about a particular document to enable solutions in the areas of document management.

Document Contents


Microsoft PowerPoint for Windows 95

Of all of the changes to the PowerPoint presentation graphics program, the addition of OLE support, in the form of an object model and support for OLE Automation, will make the largest impact on the developer community. The ability to use PowerPoint objects in a custom solution will open up many new possibilities in automating slide creation, from creating additional AutoContent Wizards, to creating a slide library that automates the use and re-use of standard presentations.

Document Contents


Object Model Support

Microsoft PowerPoint for Windows 95 features a complete object model, with a very fine level of control over PowerPoint objects. Virtually anything that can be done via the user interface can be accomplished by accessing the object model programmatically. The object model for PowerPoint for Windows 95 will be documented and available in the Microsoft Solutions Developer Kit, as well as MSDN and other electronic forums.

graphic

Document Contents


OLE Automation

There is also support for OLE Automation, which means that any OLE Controller, including Microsoft Excel, Microsoft Project, Microsoft Access, Visual Basic and Visual C++, can programmatically access and control PowerPoint objects so they can be used in a custom application.

Document Contents


OLE Properties

PowerPoint for Windows 95 exposes file summary information as well as key user definable information. This enables rich, content-based searching, browsing and viewing in Microsoft Exchange public folders. In addition, these properties can be used to identify characteristics about a particular slide or set of slides, to enable solutions in the areas of document management and slide libraries.

Document Contents


Microsoft Project for Windows 95

Business solutions based on Microsoft Project are becoming increasingly popular. There are over 100 software add-ins available for Microsoft Project, which offer everything from sophisticated charting to risk analysis to enterprise-wide project management systems. In addition to these solutions, there are thousands of Microsoft Project users and developers around the world who are using the open and extensible architecture of Microsoft Project, along with its built-in programming language, Visual Basic for Applications, to build powerful custom solutions for their business needs. In order to support the growing demands of solutions builders and users, some powerful new enhancements have been incorporated into Microsoft Project for Windows 95.

Document Contents


ODBC Support

Microsoft Project 4.0 provided functionality that allowed for programmatic import and export to Microsoft Access database files. Project 95 now provides direct ODBC support. This new utility will allows the developer to select the ODBC data source, create the required table structure for the data, and read and write project data directly from/to the ODBC data source. This functionality will open a wide range of possible data stores with which developers can now integrate Microsoft Project data.

Document Contents


Programmatic Access to SaveToDatabase/OpenFromDatabase Commands

In Microsoft Project 4.0 the SaveToDatabase/OpenFromDatabase utilities could only be accessed via the user interface. In Microsoft Project for Windows 95 it is now possible to access these commands programmatically through Visual Basic for Applications. Custom business solutions can now be created using Visual Basic for Applications that can call the SaveToDatabase/OpenFromDatabase commands, and can hand over the parameters required to identify the ODBC data source.

Document Contents


OLE Properties

File summary information is exposed as OLE objects as well as key user definable information. This enables rich, content-based searching, browsing and viewing in Microsoft Exchange public folders. In addition, these properties can be used to identify characteristics about a particular document to enable solutions in the areas of document management.

Document Contents


Online Catalog of Project Solutions

Since business solutions have become such an important part of the success of Microsoft Project, there is an on-line catalog of some of the more popular add-ins that are available for Microsoft Project included with the software. These add-ins range from charting and risk analysis tools to enterprise-wide project management systems. To view this on-line catalog, simply select the Microsoft Project Online Catalog from the Contents tab of the Microsoft Project Help screen.

Document Contents


OLE Object Model

graphic

Document Contents


Microsoft Schedule+ for Windows 95

Schedule+ is the newest member of Microsoft Office. Not only does it add time management functionality to Office, but because of the OLE object model, it can play a part in any Office solution.

OLE Object Model

Schedule+ for Windows 95 has a complete OLE object model, which will allow any OLE Automation Controller to programmatically control any of its objects.

graphic

Document Contents


Support for OLE Automation

Since Schedule+ for Windows 95 supports OLE automation, any application programmed with Visual Basic or Visual Basic for Applications can utilize information stored in Schedule+. For example, a custom billing or work-scheduling applications that tap into Schedule+ for Windows 95 can be created, instead of requiring users to fill out additional forms or keep the information in a separate application.

Document Contents


Microsoft Word for Windows 95

Microsoft Word for Windows 95 is the most popular word processor in the world. The combination of a rich development environment and OLE support enable developers to create powerful solutions that include Microsoft Word.

OLE Properties

File summary information is exposed as OLE objects as well as key user definable information. This enables rich, content-based searching, browsing and viewing in Microsoft Exchange public folders. In addition, these properties can be used to identify characteristics about a particular document to enable solutions in the areas of document management.

Document Contents


Address Book Integration

Ability to integrate with the MAPI PAB (Personal Address Book) or the Schedule+ Contact list using Word Basic commands. This prevents having to use MAPI calls directly to do this.

Document Contents


Word Viewer

Allows for viewing and printing of Word documents for those without Microsoft Word. The Word Viewer is free and can be redistributed with custom solutions ensuring that users will be able to view and print documents.


TechNet logoGo To TechNet Home Page

Microsoft logo Go To Microsoft Home Page