Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook 2003 and attachments
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Outlook 2003 and attachments
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01168436
Message ID:
01168436
Views:
66
Hi everybody,

I have a procedure written by someone which allows to Send HTML pages by Outlook. This procedure first fixes HTML, in other words it puts absolute paths for the images (jpg) and creates these images in the source directory of the project (in my case c:\Send Mail). It then sets HTMLBody and also attaches the files using attachements.Add method. The files are there and the string is
"c:\Send Mail\myFile.jpg" with the double quotes around the string.

The Outlook complains that the directory or file name is not found, though as I said, the file is there, on the line

mItem.Attachments.ADD(attarr(i))

The HTMLBody is set prior to Attachments.Add

Do you know what could be wrong?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform