A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Automation: How to differentiate between ansi and unicode PST files?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 29th 06, 04:17 AM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 3
Default 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

(sorry about the manual xpost in microsoft.public.outlook, I hear this
is a better place to post!)

  #2  
Old June 29th 06, 05:56 AM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 3
Default Outlook Automation: How to differentiate between ansi and unicode PST files?

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  
Old June 29th 06, 05:50 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook Automation: How to differentiate between ansi and unicode PST files?

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!)




  #4  
Old June 29th 06, 06:23 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Outlook Automation: How to differentiate between ansi and unicode PST files?

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!)

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Automation: How to differentiate between ansi and unicode PST files? [email protected] Outlook - General Queries 1 June 29th 06 02:44 PM
Problem wrapping unicode PST Chuck Bohling Add-ins for Outlook 0 June 26th 06 11:29 PM
Changing My Outlook 2003 PST from 97-2002 to Unicode Format? Jim McGowan Outlook - General Queries 17 May 24th 06 12:42 AM
UNICODE PST ? [email protected] Outlook - General Queries 12 April 16th 06 11:17 PM
Outlook 2003 - Exchange 2000 - Unicode and .PST Bill Glidden Outlook - General Queries 5 January 17th 06 04:03 AM


All times are GMT +1. The time now is 03:49 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-2025 Outlook Banter.
The comments are property of their posters.