Adding a link to a form
I would like to add a link to a form and when clicked will take you to a web site.
Is there a control or code available?
Pls Find in Classic VB Section or .NET Section.. As far as I remember, there is one thread in these section as same as what you want...
If i found then let u know.
I found it..
check it out...
Last edited by Sync; 03-18-2006 at 11:46 AM.
vb6 is as follows
paste the below code into the form declaration section
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
Private Const SW_SHOW = 5
and eith on a command button or label or whatever you wish paste the next bit of code
ShellExecute hWnd, "open", "http://www.google.com", vbNullString, vbNullString, SW_SHOW
there you go mate
no reference is needed for this ...
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Thanks, Guys/Gals, got it working.
By software_develo in forum .NET
Last Post: 12-01-2005, 09:43 AM
By maheeru in forum VB Classic
Last Post: 08-09-2005, 01:59 PM
By ANGEL9720 in forum VB Classic
Last Post: 05-23-2005, 11:06 AM
By skyxmen in forum VB Classic
Last Post: 09-04-2001, 03:51 PM
By Setya in forum VB Classic
Last Post: 01-08-2001, 06:53 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center