Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email and attachment
Message
De
13/03/2009 16:40:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01387873
Message ID:
01387907
Vues:
73
Thanks.
I know how to do this in Outlook.

I hoped for something like:

oShell = NEWOBJECT("_shellexecute", HOME(0)+"FFC\_environ.vcx")
oShell.shellexecute('mailto:?subject=&attachment="c:\test.txt"')

This brings up the default email client.
But the &attachment= part does not work.

There must be a way.
OpenOffice Writer and other applications manages to do this with Outlook Express, Windows Live Mail, Windows Mail, Outlook and probably a lot of other email clients.

May be I will have to study source code for Writer. I had hoped not.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform