"Tee" <th*@streamyx.com> schrieb:
I need to open a .xml file with system default browser.
But whenever I open the file using Process.Start, it will open the default
program that handles .xml.
Anyone knows how to detect the default browser so I can use it to open the
.xml?
You could determine the application which is associated with the ".html"
extension, for example:
Determining a file's associated application
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=findassociatedapp&lang=en>
'Process.Start(<file name>)' will open the application associated with the
file type of the file you pass to the 'Start' method automatically.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>