|
-
Mar 26th, 2002, 04:26 PM
#1
Thread Starter
Hyperactive Member
Need Help
ok i want to put a link for my email address in my program anycode to do this and what do i do to insert the link?
Gamezfreak
Visual Basic 6 Enterprise Edition
Borland C++ Builder 6 Enterprise Edition
-
Mar 26th, 2002, 04:36 PM
#2
Thread Starter
Hyperactive Member
Gamezfreak
Visual Basic 6 Enterprise Edition
Borland C++ Builder 6 Enterprise Edition
-
Mar 26th, 2002, 04:37 PM
#3
-= B u g S l a y e r =-
make a lable with u'r address as caption
make font blue and underline
set its icon prop to a hand
add this code
VB Code:
Option Explicit
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 Sub Label1_Click()
ShellExecute 0&, vbNullString, "mailto:" & Label1.Caption, vbNullString, "C:\", vbNormal
End Sub
-
Mar 26th, 2002, 04:41 PM
#4
-
Mar 26th, 2002, 04:44 PM
#5
I cannot find a hand icon (I have a similar program and ended up not using a hand).
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Mar 26th, 2002, 04:48 PM
#6
-
Mar 26th, 2002, 04:55 PM
#7
LOL.
I actually did end up adding one to my compiled resources and then accessing it by resource as you are suggesting .
I was trying to more suggest that I could not find one in the standard-available cursors (and then had to use my own).
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Mar 26th, 2002, 04:57 PM
#8
-= B u g S l a y e r =-
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
|