Advertisement
7_2009-2012 VB function enhancement #223229

Default Browser

A simple API call to open up the default browser to the url of your choice. VERY simple and useful code.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Public Function OpenBrowser(strURL As String, lngHwnd As Long)
 OpenBrowser = ShellExecute(lngHwnd, vbNullString, strURL, vbNullString, _
  "c:\", SW_SHOWDEFAULT)
End Function
Original Comments (3)
Recovered from Wayback Machine