Application software like Page-Maker provide an easy way to access a page from the document and do necessary changes such as add a new page, edit the desired text on a page and then save it. These are just a tip of the iceberg. The PageMaker software has many more sophisticated facilities.
Here we present a software that provides a few of these facilities for Microsoft Word documents. It lets you access a page, edit it, add a new page, add new text to it, and save new or edited text. The program is based on Visual Basic (VB) interacting with the MS Word through an object linking and embedding (OLE) environment.
The OLE is an automated environment of server-and-client nature. Prop¬erties like Action, AutoActivate, eopy, Paste and DoVerb enable you to use OLE as a client platform in the applications. Application software like Word, Excel and Paint can be automated in the applications as server and client using OLE.
In this article, we have used MS Word automation. As a result, the MS Word acts as the server and OLE as the client. Using such adaptability, many of the Microsoft Word facilities can be easily borrowed either automatically or by program code onto the OLE platform and used as if Microsoft Word is active in the application.
This program allows you to open any existing Word document up to four pages long, which can be placed onto the OLE environment to make changes and save it as if working with Microsoft Word. We have used only a few of the OLE properties in the program that meet our requirements. The program output of desktop publishing using Visual Basi<; is shown in Screenshot.




Reply With Quote

Copyright Techfuels
Bookmarks