Skip to content

Open a file in C# 2.0

Vinoth Natarajan

Asked Jun 11, 2008, 10:49 PM EDT1 answer
Share
LinkedInX
Hi,
    I am using a windows application to read the inbox and display mails and their attachments.
Now when user clicks on the attachment I have to display the actual file (it may be .txt or .xls).
I am having the attachment file path. How to fetch the file from the path and display it to the user.
Note: As we do in the normal outlook mails.


Vinoth

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    I dont know if its the official route but:

     Process.Start(filename,args)

    Works fine for me.
    0