1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Development Reading a word document

Discussion in 'Software' started by Thagi, 5 May 2006.

  1. Thagi

    Thagi What's a Dremel?

    Joined:
    17 Feb 2006
    Posts:
    11
    Likes Received:
    0
    Hi guys

    I have a word document on my C drive call events.doc, format of this document is: it has images and the text is laid out in four colums.

    On my C# project one of the forms has to display this word doc file. I tried placing list box in my form and using streamReader, the format doesn't come out the way it was and images doesn't diplay.

    Any ideas how to display this word document in my form exactly the way it is(format and images)

    Thanx
     
  2. GuardianStorm

    GuardianStorm Minimodder

    Joined:
    26 Apr 2005
    Posts:
    1,475
    Likes Received:
    1
    tried using the MSDN lib? im sure i saw a document on using the Office control to read a document.
     
  3. John Cena

    John Cena What's a Dremel?

    Joined:
    1 Jun 2004
    Posts:
    818
    Likes Received:
    0
    Drag and Drop the Rich Text Box control into the form
    The Rich Text Box control has a property to read a word document, set the property to the path of the file.
     

Share This Page