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 10: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, 08:43 AM
By maheeru in forum VB Classic
Last Post: 08-09-2005, 12:59 PM
By ANGEL9720 in forum VB Classic
Last Post: 05-23-2005, 10:06 AM
By skyxmen in forum VB Classic
Last Post: 09-04-2001, 02:51 PM
By Setya in forum VB Classic
Last Post: 01-08-2001, 05:53 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL