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!

Create Word Document

Status
Not open for further replies.

unicorn11

Programmer
Jun 10, 2000
392
IN
Is there any method to create a word document on a machine that does not have MS Word installed on it

regards Unicorn11
unicorn11@mailcity.com
[red]We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. --- Plato [red]
 
Well, you'd have to know the format of a Word document to do that. However, you can create a generic Rich Text Format document (which Word can read), and end the filename with .DOC so that Word is associated with the file.

You can do this with the RichTextBox control. After entering the text into the RichTextBox and adding all of the formatting you want, write the controls' TextRTF property to a file (remember to end the filename with .DOC).

Jon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top