Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email and attachment
Message
From
13/03/2009 16:40:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01387873
Message ID:
01387907
Views:
74
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform