FoxPro Developer's Conference '94
OLE: Inside and Out
FoxPro for Windows has built-in OLE capabilities, which can add entirely new features to your applications with minimal effort. During this session, Ted will review the capabilities of FoxPro and OLE. He will also explore the exciting innovations introduced in OLE 2.0, including In-Place Editing and OLE Automation, and will speculate about the impact OLE 2.0 could have in a future version of FoxPro.
FoxPro & OLE now
Foxpro & OLE
What is OLE?
It Came from the Clipboard!
Cut-and-paste with activate added
Separation of functionality from document
FoxPros OLE Implementation
@ ... SAY ... VERB
APPEND GENERAL Command
APPEND GENERAL <general
MODIFY GENERAL Command
MODIFY GENERAL <field>
[IN [WINDOW] <windowname2] |
FoxPro Output Options
Screen Bitmap Tool
Report/Label Bitmap Tool
@ ... SAY
Screen Picture Tool
OLE object in reports or labels
@ ... SAY object command
@ <row, column> SAY
<file> BITMAP | <general field>
[ISOMETRIC | STRETCH]
[SIZE <expN1>, <expN2>]
What Is OLE 2.0?
A software Component Object
Foundation for a new generation of applications
Shrink-wrapped software combines as never before
An interapplication integration standard
Seamless visual editing
Drag and drop objects across applications
A cross-application programmability standard
An open, cross-platform standard
The OLE Component Object Model is the
foundation for object oriented Windows based systems.
Compound documents are only one use of OLE.
Many features of OLE are useful with or without compound documents.
Most OLE features are optional.
You may implement some and use default implementation for others.
New interfaces can be added later for additional capabilities.
OLE 2.0 Benefits
Easier custom solutions
Reduced training and support
OLE 2.0 Feature Summary
Drag And Drop
What is an Object?
An Excel object is, in essence, something
that can be programmed. It is a piece of Excel. Excel objects
etc. - 128 Excel objects in all.
Complete OLE 2.0 support
Cross-program Drag-and-Drop feature
Features for common cross-program scenarios
Present it! Document it!
Mail Merge, Routing
Publish It, Analyze It, Mail It
Rich text Cut-and-Paste feature (Microsoft Access 2.0)
The Microsoft Office Development Platform
Program With Microsoft Applications
Future Windows-Based Investments
Component Object Model: Foundation For New Application Architecture
Office Solutions Technology
For more information on OLE, check out
OLE Programmers Reference, 2 volumes, Microsoft Press, 1994
Inside OLE 2, Kraig Brockschmidt, Microsoft Press, 1994
Microsoft, Windows, OLE and FoxPro and other product and company names are trademarks or registered trademarks of their respective companies. Use of the code included herein is completely at your own risk; no liability is assumed by either DFPUG, Computer Resource, nor Microsoft for any damages incurred.