![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: ansi, automation, between, differentiate, files, outlook, pst, unicode |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 (sorry about the manual xpost in microsoft.public.outlook, I hear this is a better place to post!) |
| Ads |
|
#2
|
|||
|
|||
|
On further investigatation it appears that the answer is held in
PR_STORE_SUPPORT_MASK, if I can retrieve this I can then check for STORE_ANSI_OK or STORE_UNICODE_OK, so my question now is.... how on earth can I get PR_STORE_SUPPORT_MASK using automation. Thanks David wrote: 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 (sorry about the manual xpost in microsoft.public.outlook, I hear this is a better place to post!) |
|
#3
|
|||
|
|||
|
Am 28 Jun 2006 20:17:54 -0700 schrieb :
You can use Redemption (www.dimastr.com) and read the RDOStore.StoreKind property. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- 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 (sorry about the manual xpost in microsoft.public.outlook, I hear this is a better place to post!) |
|
#4
|
|||
|
|||
|
Youy will need to use Extended MAPI (C+/Delphi only) or CDO 1.21 or
Redemption in case of VB or .Net languages. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool wrote in message oups.com... On further investigatation it appears that the answer is held in PR_STORE_SUPPORT_MASK, if I can retrieve this I can then check for STORE_ANSI_OK or STORE_UNICODE_OK, so my question now is.... how on earth can I get PR_STORE_SUPPORT_MASK using automation. Thanks David wrote: 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 (sorry about the manual xpost in microsoft.public.outlook, I hear this is a better place to post!) |
|
#5
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Outlook Automation: How to differentiate between ansi and unicode PST files? | davecla@gmail.com | Outlook - General Queries | 1 | June 29th 06 03:44 PM |
| Problem wrapping unicode PST | Chuck Bohling | Add-ins for Outlook | 0 | June 27th 06 12:29 AM |
| Changing My Outlook 2003 PST from 97-2002 to Unicode Format? | Jim McGowan | Outlook - General Queries | 17 | May 24th 06 01:42 AM |
| UNICODE PST ? | EMERY_BILL@HOTMAIL.COM | Outlook - General Queries | 12 | April 17th 06 12:17 AM |
| Outlook 2003 - Exchange 2000 - Unicode and .PST | Bill Glidden | Outlook - General Queries | 5 | January 17th 06 05:03 AM |