要在网络浏览器中打开的特定页面
Specific page to open in webbrowser
要在 vb.net 上打开特定页面,我们可以使用代码
Dim webAddress As String = "http://www.example.com/"
Process.Start(webAddress)
参考:Open a webpage in default webbrowser
但是如果我们不想像 localhost/thing
这样打开页面怎么办??
只需确保在本地主机前使用 http:// url:
Dim webAddress As String = "http://localhost/thing"
Process.Start(webAddress)
要在 vb.net 上打开特定页面,我们可以使用代码
Dim webAddress As String = "http://www.example.com/"
Process.Start(webAddress)
参考:Open a webpage in default webbrowser
但是如果我们不想像 localhost/thing
这样打开页面怎么办??
只需确保在本地主机前使用 http:// url:
Dim webAddress As String = "http://localhost/thing"
Process.Start(webAddress)