<br>This is one way to accomplish the task.<br><br>Private Const SW_SHOWNORMAL = 1<br><br>Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long<br><br>Private Sub main()<br><br>Dim sURL As String<br>Dim hInst As Long<br><br>sURL = "<A HREF="
You may be thinking of the Shell command. The ShellExecute command is from the Windows API. I have not tried this solution yet. Instead, I used the WebBrowser Control from the Microsoft Internet Controls component.
Here's a simple way to do this thing. The URL could easily have been a variable...so you could have a textbox where the user would enter and a command button and whalah.<br>Option Explicit<br>Dim ie As InternetExplorer<br><br>Private Sub Command1_Click()<br>Set ie = New InternetExplorer<br><br>ie.Visible = True<br>ie.AddressBar = True<br>ie.TheaterMode = False<br>ie.Navigate ("<A HREF="
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.