-
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..
http://forums.devx.com/showthread.ph...ght=link+lable
check it out...
Last edited by Sync; 03-18-2006 at 10:46 AM.
-
hi mate,
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 ...
Rob(AKA Spumbu)
-
Phil Weber
http://www.philweber.com
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.
Similar Threads
-
By software_develo in forum .NET
Replies: 0
Last Post: 12-01-2005, 08:43 AM
-
By maheeru in forum VB Classic
Replies: 3
Last Post: 08-09-2005, 12:59 PM
-
By ANGEL9720 in forum VB Classic
Replies: 1
Last Post: 05-23-2005, 10:06 AM
-
By skyxmen in forum VB Classic
Replies: 2
Last Post: 09-04-2001, 02:51 PM
-
By Setya in forum VB Classic
Replies: 0
Last Post: 01-08-2001, 05:53 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks