|
-
September 23rd, 1999, 08:14 PM
#1
Pro looking About
How would one go about adding a URL to a form so user could go straight to a the developers websiter to register, search for update and patches?
Ive seen these url's on many different applications about dialog boxes but cant work out how to do it.
Please Help
D.G.Holmes
Gap Student
-
September 23rd, 1999, 10:43 PM
#2
Re: Pro looking About
I'm not sure if I exactly know what you want, but maybe this will help.
Add this code to module
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
and this to label1.click where label1.caption = "http://www.yourlink.com"
Dim link
link = ShellExecute(me.hwnd, "Open", Label1.Caption, "", App.Path, 1)
Hope this will help 
-
September 23rd, 1999, 10:50 PM
#3
Re: Pro looking About
oops...
not label1.click...Label1_Click ()
sorry
-
September 24th, 1999, 04:55 PM
#4
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
|
Click Here to Expand Forum to Full Width
|