Dim fname
fname = InputBox("Enter UserName")
Dim wsh As Object = CreateObject("WScript.Shell")
wsh = CreateObject("WScript.Shell")
wsh.Run (Chr(34) & "http://privateurl.com/users/" & fname & Chr(34))
This actually works... sort of... it 404's the application browser window (WebBrowser1), but opens a seperate IE browser window and goes to the proper URL. I feel like I'm so close! Any help is appreciated guys. Thanks!
I figured it out. It looks like I had a bunch of unnecessary code in there with respect to wsh. For others trying to do this, the correct code would be -
Private Sub
Dim fname
fname = InputBox("Enter UserName")
WebBrowser1.Navigate("http://privateurl.com/users/" & fname)
End Sub