Skip to main content

Problem:

This program demonstrates the use of OLE Automation to send messages to objects in another application. This example uses Microsoft Word

Resolution:

INTRODUCTION

==========

This program demonstrates the use of OLE Automation to send messages to objects in another application. This example uses Microsoft Word.

This is a modified version of the demo program that is provided by Net Express in the NetExpress\\Base\\Demo\\Oledemos directory. It demonstrates how to change the Page Setup and Font information for a Word document.

SOURCE FILES:

==========

Program Files            Description

---------------------     -----------------------------------------------------------

WORDSETUP.CBL     Program that calls the MSWord OLE automation functions.

REQUIREMENTS:

==========

Microsoft Word 97 or above needs to be installed on your system.

OPERATION:

========

Rebuild this project to create the file wordsetup.int.

==========================================================

Keywords: demonstration, sample, example, demo, win32 api, wordsetup.zip

demo.ex

demo.ne

Attachments:

wordsetup.zip

Old KB# 4192