Advertisement
6_2008-2009 Internet/ HTML #204340

Open a web browser

This is a simple way to run internet explorer from within VB and have it surf automatically to the webpage you specify.

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
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
Const conSwNormal = 1

ShellExecute hwnd, "open", "http://webaddress.com", vbNullString, vbNullString, conSwNormal
オリジナルのコメント (3)
Wayback Machineから復元