Advertisement
4_2005-2006 VB function enhancement #155675

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 Samenvatting: 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.

Broncode
original-source
Public Function OpenBrowser(strURL As String, lngHwnd As Long)
 OpenBrowser = ShellExecute(lngHwnd, vbNullString, strURL, vbNullString, _
  "c:\", SW_SHOWDEFAULT)
End Function
Originele reacties (3)
Hersteld van de Wayback Machine