Shelling to Internet Explorer

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top