Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to open a file with another application

Status
Not open for further replies.

kognitio

Programmer
Apr 3, 2004
11
DE
Hello,
I want to open a .ics File (iCalendar) with Outlook and that should happen automatically (after pressing a button), means not with the openfiledialog() method. Does anyone know how to do that?
thanks for helping,
Stephan
 
Is that what you are looking for?

Process.Start(pathToOutlook,pathToYourDocument);

or if the .ics is already connected to Outlook (ie if Outlook would open if you double click it)

you could just do

Process.Start(pathToYourDocument);

Stephan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top