Execute A File Or Application

Get your .NET application to open a file using the operating system's file type assignments, just like the file would open when double clicked.

1. // Will open Microsoft Word 2007 or whichever program you have assigned to handle the DOCX extension

2.System.Diagnostics.Processes.Start(“Gobias Industries Business Plan.docx”)

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top