Opening default web browser

后端 未结 5 1484
臣服心动
臣服心动 2020-12-21 08:05

I am using the function below to open the user\'s default web browser.

 Public Function ShowHelp(ByVal url As String) As System.Diagnostics.Process
    Dim s         


        
5条回答
  •  独厮守ぢ
    2020-12-21 08:33

    If you wish to dislay a file the ends in ".html" or "htm" then you can just pass it to the Process.Start() method. The same may work with a URL.

    (You must have the flag set that gets Process.Start() to use the shell methods.)

提交回复
热议问题