Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mailto: equivalent
Message
 
 
À
29/07/2003 23:49:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00813377
Message ID:
00814860
Vues:
24
Hi Mathew,

You can but it will also open IE window.
oHl = CREATEOBJECT("hyperlink")
lcEmailAddress = "somebody@someplace.com"
lcSubject = "This is a test message"
lcMessageBody = "This a message body."
lcMailStr = "mailto:" + lcEmailAddress + "?Subject=" + lcSubject ;
				+ "&body=" + lcMessageBody
oHl.NavigateTo(lcMailStr)
You can use IE automation
oWeb = CREATEOBJECT("InternetExplorer.Application")
lcEmailAddress = "somebody@someplace.com"
lcSubject = "This is a test message"
lcMessageBody = "This a message body."

lcMailStr = "mailto:" + lcEmailAddress + "?Subject=" + lcSubject ;
				+ "&body=" + lcMessageBody
oWeb.Navigate2(lcMailStr)
oWeb.Quit
>Hi Sergey,
>
>Thanks for the help again. Just for heck of it, how would I modify my code to make it work using VFP's Hyperlink class? or can it be done?
>
>Cheers!
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform