You must Sign In to post a response.
  • Category: .NET

    Open MSWord in asp.net

    How can a new msword document can be opened in a asp.net form? It should be opened on form load
  • #582885
    hi you can try this code

    first of all you have to add namespace like this
    using System.Diagnostics;

    then after on form load you can write this code

    Process.Start("Winword");



    hope this will help you

  • #582893
    But I need to open it in a form. Please find the attachment
    Thanks & Regards,
    Sirisha

    Attachment.doc

    Delete Attachment

  • #583004
    You should use Interop Assemblies:


    http://msdn.microsoft.com/en-us/library/dww0e04a(VS.90).aspx


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.