|
-
Jul 9th, 2009, 06:30 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] How to import a word document into a RichTextBox
The code :
RichTextBox1.Loadfile "C:\xyz.RTF", rtfRTF" imports a RTF file fine.
RichTextBox1.Loadfile "C:\xyz.TXT", rtfTEXT" imports a TEXT file fine.
However if one tries to import a MS Word file of extension .doc, a whole load of gash symbols appear in addition to the desired text. Some of these are "valid" alpha-numeric characters, so a routine which parses out "wierd" characters would nonetheless leave in situ some gash characters.
Is there please a neat way to import a .doc file without first having to save it as a .txt or .rtf format file (using MS Word or whatever).?
camoore
Wales, UK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|