How to modify this line to use in vb6?
2 posts • Page 1 of 1
- Posts: 450
- Joined: 27 Jun 2021, 10:46
Basic functionality can be replicated with something like
Code: Select all
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal Operation As String, ByVal Filename As String, Optional ByVal Parameters As String, Optional ByVal Directory As String, Optional ByVal WindowStyle As Long = vbMinimizedFocus) As Long Public Sub FollowHyperlinkVB(strLink as String) ShellExecute 0, "Open", strLink End Sub