Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mail From VfP
Message
From
03/09/1999 09:55:18
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00261111
Message ID:
00261121
Views:
26
You can use _hiperlink.vcx in the ffc directory.
But you must change the validurl method in the _hiperlinkbase.
New _validurl is:

LPARAMETERS tcURL
LOCAL lcURL

IF EMPTY(tcURL)
RETURN ""
ENDIF
lcURL=ALLTRIM(tcURL)
IF NOT LOWER(LEFT(lcURL,5))=="http:" and NOT LOWER(LEFT(lcURL,7))=="mailto:" AND NOT LOWER(LEFT(lcURL,5))=="file:" AND ;
(LOWER(LEFT(lcURL,4))=="www." OR ;
INLIST(LOWER(RIGHT(lcURL,4)),".com",".gov",".net") OR ;
(NOT SUBSTR(lcURL,2,1)==":" AND NOT LEFT(lcURL,2)=="\\"))
lcURL="http://"+lcURL
ENDIF
IF SUBSTR(PADR(lcURL,5),5,1)==":" .OR. SUBSTR(PADR(lcURL,7),7,1)==":"
lcURL=STRTRAN(STRTRAN(lcURl,"\","/"),"///","//")
ELSE
lcURL="file://"+STRTRAN(STRTRAN(STRTRAN(lcURL,"\","/"),"///","//"),"//","/")
ENDIF
RETURN lcURL

After you change this method:
Create a _hiperlinkimage or _hiperlinkbutton.
Type into the ctarget property : mailto:xxx@xxx.com


>Hello All!!! I am interested in being able to e-mail from my Vfp app. does anyone know how to link out to MS Outlook or their mail software to do so? Or does anyone know of any articles that have been written on how to do this with the MS software. Thanx !!! Please get back to me on the thread or e-mail me at DITTOZIP@AOL.com !!!!
>
>-NEIL
Previous
Reply
Map
View

Click here to load this message in the networking platform