To open a file in it’s default application all you need is one line of code:
System.Diagnostics.Process.Start("www.mysite.com")
or
System.Diagnostics.Process.Start("N:\myfile.pdf")
Your email is never published nor shared. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Open a file in VB.NET
To open a file in it’s default application all you need is one line of code:
System.Diagnostics.Process.Start("www.mysite.com")or
System.Diagnostics.Process.Start("N:\myfile.pdf")