Author |
|
peberhardt Newbie
Joined: 05 October 2008 Location: Germany
Online Status: Offline Posts: 3
|
Posted: 14 October 2008 at 7:18pm | IP Logged
|
|
|
hello,
showmessage(objMsg.Attachments.Item[I].FileName);
show me my picture name.
but
objMsg.Attachments.Item[I].savefile('d:\bilder\' + objMsg.Attachments.Item[I].FileName);
not save my picture on space
wath is wrong?
best regardts
peter
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 15 October 2008 at 1:37am | IP Logged
|
|
|
SaveFile method requires directory name and filename separated by comma. Additionally, you cannot specify string data using single quotes in Visual Basic as they are used for comments, double quotes should be used.
Please try the following syntax:
objMsg.Attachments.Item[I].savefile("d:\bilder\" , objMsg.Attachments.Item[I].FileName);
The following documentation page should be useful to you:
http://www.afterlogic.com/mailbee/docs/Attachment_methods_Sa veFile.htm
Please also make sure your application has write permissions over that folder.
Regards,
Igor
|
Back to Top |
|
|