File opening questions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johnny Jörgensen

    #1

    File opening questions



    I'm currently doing an application in VB.NET 2005 where I need the
    possiblity to perform certain file tasks:



    1) I've got a HTML page open in a WebBrowser control. I want the user
    to be able to click a button and then the page is saved as a PDF file with a
    filename decided by me (i.e. the program)



    2) I want the user to be able to open and view (but not change) the
    PDF file in a box inside my application (precisely like when a picture is
    opened and viewed in a PictureBox)



    3) I want the user to be able to open and view (and perhaps even change
    and save) a Word document in a box inside my application (precisely like
    when a picture is opened and viewed in a PictureBox)



    4) I want the user to be able to open and view (and perhaps even change
    and save) a RTF document in a box inside my application (precisely like when
    a picture is opened and viewed in a PictureBox)





    #4 is easy using the RichTextBox, but how do I do the 3 others? Any
    pointers? I'm sure I can open both PDF's and Doc's using the Webbrowser
    control, but that would surely mean that Acrobat and MS Word respectively
    have to be installed? And would it be possible to edit and save the doc
    file? (that's not absolutely necessary but would be a nice touch).



    Thank in advance for any help or pointers,

    Johnny Jörgensen



Working...