![]() |
Outlook Automation: How to differentiate between ansi and unicode PST files?
Anyone know how I can programmatically tell if a PST file is ansi or
unicode based? I can manually check for either "Personal Folders File (97-2002)" or "Personal Folders File" in the advanced tab, but how can I do this with automation. Thanks and regards, David |
Outlook Automation: How to differentiate between ansi and unicode PST files?
You could use the MAPI property PR_STORE_SUPPORT_MASK (0x340D0003) on the
Store object of the PST file and check for the STORE_UNICODE_OK bit. That would have to be done using Extended MAPI or CDO 1.21 or Redemption or some other API that supports using MAPI properties. A better place to post questions like this is in one of the Outlook programming newsgroups. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message oups.com... Anyone know how I can programmatically tell if a PST file is ansi or unicode based? I can manually check for either "Personal Folders File (97-2002)" or "Personal Folders File" in the advanced tab, but how can I do this with automation. Thanks and regards, David |
All times are GMT +1. The time now is 03:40 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com