Shelling to Internet Explorer

  • Thread starter Thread starter Ron Holmes
  • Start date Start date
R

Ron Holmes

Hi,
How do I Shell to Internet Explorer from a Visual Basic 6
project and start an instance of Internet explorer that
goes to a web address typed into a text box on my form?
the following doesn't work.

Private Sub Command8_Click()
Dim RetVal
RetVal = Shell("C:\WINDOWS\Application
Data\Microsoft\Internet Explorer\Quick Launch\Launch
Internet Explorer Browser.lnk", 1)& TxtWebAddress.text
End Sub

Thank you
 
Back
Top