tags:

views:

123

answers:

2

In VB.NET how do you open a word/PDF doc? I used to have the code and I remember it was very short.

+4  A: 

Assuming there is an app registered to handle .PDF or .DOC files, you could use the following:

System.Diagnostics.Process.Start("C:\path\filename.pdf")
System.Diagnostics.Process.Start("C:\path\filename.doc")
devSolo
A: 

Are you thinking of VSTO (Visual Studio Tools for Office)?

JonnyBoats