VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Makes a Link in u'r Vb App

by .:Nar00w:. (3 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 10th July 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Makes a Link in u'r Vb App

API Declarations



Private Declare Function GetActiveWindow Lib "user32" () As Long
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



Rate Makes a Link in u'r Vb App



' give the label the url u want 2 visit
 Me.WindowState = vbMinimized
 ShellExecute GetActiveWindow(), "Open", label1.Caption, "", 0&, 1


Download this snippet    Add to My Saved Code

Makes a Link in u'r Vb App Comments

No comments have been posted about Makes a Link in u'r Vb App. Why not be the first to post a comment about Makes a Link in u'r Vb App.

Post your comment

Subject:
Message:
0/1000 characters