Thread: CODE
View Single Post
  #2  
Old June 1st 07, 02:30 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default CODE

No, you must use proper Outlook techniques to create a new item in the desired folder and attach the file. See http://www.outlookcode.com/codedetail.aspx?id=712 for a code sample.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/article.aspx?id=54

"Joel Allen" wrote in message news:1LI7i.4340$aW5.1584@trndny09...
Hi,

I'm writing some code for a task form to save a file to a particular place
on the server.

But, I'm thinking about saving the file instead to a folder on the exchange
server:

outlook:\\Public Folders\All Public Folders\Customer Files\

I tried it and it said the address is invalid. Is it possible to save a
file like this? I know I can and drop the file into the folder and it
works.

Thanks for your help,
Joel


Ads