Results 1 to 4 of 4

Thread: Previewing a Word doc

  1. #1

    Thread Starter
    Lively Member spdracr's Avatar
    Join Date
    Oct 2003
    Location
    Kansas
    Posts
    115

    Unhappy 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

  2. #2
    New Member
    Join Date
    Apr 2004
    Location
    Sweden
    Posts
    10
    There shouldnt be a problem reading the .doc file, at least it works for me.

    What version are you using, 6.0 or .NET?

  3. #3

    Thread Starter
    Lively Member spdracr's Avatar
    Join Date
    Oct 2003
    Location
    Kansas
    Posts
    115
    .Net

    Attached is the code I'm using...
    Attached Files Attached Files

  4. #4
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    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
  •  



Click Here to Expand Forum to Full Width