By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,401 Members | 814 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,401 IT Pros & Developers. It's quick & easy.

Launching Files into the correct application

P: n/a
Hi All

Is there functionality in .NET that achieves the same effect as
ShellExecute? or would I need to call the ShellExecute function?

Alternatively is there a way to invoke IE from .NET and have it
display the file (if you wanted to ensure it was readonly).

Thanks In Advance

Paul Bowman
Nov 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Cor
Hi Paul,

A very nice one (the only difference with C# is the dim, ; at the end and
the @ in the string)
\\\copied from Herfried. K. Wagner
Dim psi As New ProcessStartInfo
psi.FileName = "http://www.bla.foo"
psi.UseShellExecute = True
Process.Start(psi)
///

I hope this helps.

Cor
Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.