Advertisement
6_2008-2009 VB function enhancement #200711

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 摘要: 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.

源代码
original-source
Public Function OpenBrowser(strURL As String, lngHwnd As Long)
 OpenBrowser = ShellExecute(lngHwnd, vbNullString, strURL, vbNullString, _
  "c:\", SW_SHOWDEFAULT)
End Function
原始评论 (3)
从 Wayback Machine 恢复