Apr 12th, 2004, 11:39 AM
#1
Thread Starter
Lively Member
Previewing a Word doc
Ok, my program creates files just great, it writes line-by-line rtf code and saves it as a MS Word doc.
Now I want to be able to preview the file right after it is created and possibly print it. But not using MS Word... using my program.
I am able to preview a .txt file by reading it using a streamreader, but it dies when I want it to preview a .doc file.
Any suggestions on what's up?!? How do I preview a .doc file??
Thanks
Apr 12th, 2004, 11:43 AM
#2
New Member
There shouldnt be a problem reading the .doc file, at least it works for me.
What version are you using, 6.0 or .NET?
Apr 12th, 2004, 12:10 PM
#3
Thread Starter
Lively Member
.Net
Attached is the code I'm using...
Attached Files
Apr 5th, 2005, 05:13 PM
#4
Frenzied Member
Re: Previewing a Word doc
i, too, have been having the exact same problem...I can use the stream classes for text only but when opening a Word document, forget it. I hope we can solve this.
would there be a need to use a reference to the MS Word .dll?
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