i had imported mso.dll and MSOUTL9.OLB.
Now how to use this com ptr function "SaveAs" to a ics file?
thank.
ps: i found a enum defined inmsoutl9.tlh file
enum OlSaveAsType
{
olTXT = 0,
olRTF = 1,
olTemplate = 2,
olMSG = 3,
olDoc = 4,
olHTML = 5,
olVCard = 6,
olVCal = 7
};
Outlook 2003 supports iCal:
Const olICal = 8
But I'm not sure that Outlook 2000 does. I suspect that it doesn't.
FYI, there is a newsgroup specifically for general Outlook programming
issues "down the hall" at microsoft.public.outlook.program_vba or, via web
interface, at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public
.outlook.program_vba

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
>i had imported mso.dll and MSOUTL9.OLB.
> Now how to use this com ptr function "SaveAs" to a ics file?
[quoted text clipped - 11 lines]
> olVCal = 7
> };
sdsuper - 03 Mar 2005 02:49 GMT
thank you,
> Outlook 2003 supports iCal:
>
[quoted text clipped - 5 lines]
> issues "down the hall" at microsoft.public.outlook.program_vba or, via web
> interface, at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public
.outlook.program_vba
> >i had imported mso.dll and MSOUTL9.OLB.
> > Now how to use this com ptr function "SaveAs" to a ics file?
[quoted text clipped - 11 lines]
> > olVCal = 7
> > };