Anel
Anel

Reputation: 63

Specific page to open in webbrowser

To open a specific page on vb.net we can use code

 Dim webAddress As String = "http://www.example.com/"
    Process.Start(webAddress)

Refference : Open a webpage in default webbrowser

But what if we wan't to open the page like localhost/thing ??

Upvotes: 0

Views: 94

Answers (1)

Joe Uhren
Joe Uhren

Reputation: 1372

Just make sure you use http:// in front of your localhost url:

Dim webAddress As String = "http://localhost/thing"
Process.Start(webAddress)

Upvotes: 2

Related Questions