README.md

December 4, 2022 ยท View on GitHub

Open a web browser

Description

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

More Info

Submitted On
ByMark
LevelBeginner
User Rating3.8 (15 globes from 4 users)
CompatibilityVB 6.0
CategoryInternet/ HTML
WorldVisual Basic
Archive File

Source Code

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