Open, Close, Edit, Find/Replace and Print Word Documents in VB6

Category:
Office/VBA
Type:
Controls
Difficulty:
Intermediate
Author:
Gabriel Medina

Version Compatibility: Visual Basic 6

More information:
This is a great demo of many of the features of the Word Application object -- all encapsulated into an Active X control. A .vbg, with a client example, is included. Also included is a Word document for example purposes. Though the document is in Spanish, you don't need to know Spanish to understand the code or the example.

IMPORTANT: You must change the SourceDoc property of the OLE Control on the form in the example to the full path of the word document.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download wordxchange.zip