Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLE Microsoft Word Object.

Status
Not open for further replies.

craigmk

Programmer
Nov 20, 2000
11
US
I am trying to create some documenation in PowerBuilder 6.5. I have tried using Microsoft Word with OLE. I pasted an OLE Microsoft Word Object onto a window. Then I linked a Microsoft Word file to the OLE using the following statement. ole_1.LinkTo("c:\the_word_document.doc")
When this statement runs, it puts the text from the word document into the OLE Object, but the text all runs together and the font size is messed up. No matter what I do, I cannot get the text to look right. Is there a way to get around this? Is it because I am using Microsoft Word 2000 with PowerBuilder 6.5?
 
You can use a temparte as original dot. Then open it and save it as your new DOC file. In your new doc file, replace text to yours, you won't loss original text format.

Hope it helpful,
Addison Lu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top