![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I will probably use EntryID if
(IExplorer.CurrentFolderFOutlookTodayFolder) will not work It shows different addresses for IExplorer.CurrentFolder and FOutlookTodayFolder How can I compare them? "Dmitry Streblechenko" wrote in message ... You'd be better off comparing the entry ids rather than names. The fact that (IExplorer.CurrentFolder FOutlookTodayFolder) is perfectly normal. Each time you access Explorer.CurrentFolder, OOM returns a brand new COM object. Dmitry Streblechenko (MVP) http://www.dimastr.com/ |
#2
|
|||
|
|||
![]()
Compare entry ids.
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Slava Barouline" slavadotbarouline@recruitmentsystemsdotcomdotau wrote in message ... I will probably use EntryID if (IExplorer.CurrentFolderFOutlookTodayFolder) will not work It shows different addresses for IExplorer.CurrentFolder and FOutlookTodayFolder How can I compare them? "Dmitry Streblechenko" wrote in message ... You'd be better off comparing the entry ids rather than names. The fact that (IExplorer.CurrentFolder FOutlookTodayFolder) is perfectly normal. Each time you access Explorer.CurrentFolder, OOM returns a brand new COM object. Dmitry Streblechenko (MVP) http://www.dimastr.com/ |
#3
|
|||
|
|||
![]()
Thanks Dmitry
EntryIDs work fine Why can't I compare Names? "Dmitry Streblechenko" wrote in message ... Compare entry ids. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool |
#4
|
|||
|
|||
![]()
Because nothing prevents a user from creating a folder with the same name
somewhere else in the folder hierarchy. The folder name will be different in a locale other than English. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Slava Barouline" slavadotbarouline@recruitmentsystemsdotcomdotau wrote in message ... Thanks Dmitry EntryIDs work fine Why can't I compare Names? "Dmitry Streblechenko" wrote in message ... Compare entry ids. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool |
#5
|
|||
|
|||
![]()
a easier way to check it is:
int selected_items try { selected_items = _Explorer.Selection.Count; } catch (COMException e) { return; } ;-) greetings Dmitry Streblechenko schrieb: Because nothing prevents a user from creating a folder with the same name somewhere else in the folder hierarchy. The folder name will be different in a locale other than English. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Slava Barouline" slavadotbarouline@recruitmentsystemsdotcomdotau wrote in message ... Thanks Dmitry EntryIDs work fine Why can't I compare Names? "Dmitry Streblechenko" wrote in message ... Compare entry ids. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Internet Explorer Script Error 'hoverEdit' is undefined | robin | Outlook Express | 5 | November 6th 06 11:14 PM |
Calendar error in the Outlook Today setting. | HKHAIA | Outlook - Calandaring | 0 | October 17th 06 01:28 PM |
Explorer.exe -Application Error | Dirving | Outlook - Installation | 1 | July 5th 06 05:36 PM |
Outlook 2007 Spell Check Error | Jim B | Outlook - Installation | 0 | June 7th 06 11:39 PM |
Outlook Express won't check for new messages, getting this error! | psongman | Outlook Express | 12 | January 21st 06 03:22 AM |