public static Process OpenWith(string filename) { return Process.Start("rundll32.exe", string.Format("shell32.dll,OpenAs_RunDLL {0}", filename)); }
Public Shared Function OpenWith(ByRef filename As String) As Process Return Process.Start("rundll32.exe", String.Format("shell32.dll,OpenAs_RunDLL {0}", filename)) End Function