Know Outlook view

Add-in Express™ Support Service
That's what is more important than anything else

Know Outlook view
 
Karim




Posts: 153
Joined: 2006-01-02
Hi,

In Outlook in 2010 or 2013 how to test for know if I'm on
the Mail or calendar or person or task outlook view

Thanks
Posted 13 Feb, 2015 04:44:39 Top
Andrei Smolin


Add-in Express team


Posts: 14104
Joined: 2006-05-11
Karim,

If you need to check whether the current folder is a mail, calendar, task etc. folder, you can check MAPIFolder.DefaultItemType.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2015 07:04:45 Top
Karim




Posts: 153
Joined: 2006-01-02
I use
OutlookApp.ActiveExplorer.CurrentFolder.DefaultItemType

Thanks
Posted 13 Feb, 2015 07:34:08 Top
Andrei Smolin


Add-in Express team


Posts: 14104
Joined: 2006-05-11
Karim,

I'm sorry, does this mean the problem is solved or not?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2015 07:39:36 Top
Karim




Posts: 153
Joined: 2006-01-02
Yes my problem solved

Thanks
Posted 13 Feb, 2015 07:55:42 Top
Andrei Smolin


Add-in Express team


Posts: 14104
Joined: 2006-05-11
Thank you for letting me know.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2015 08:00:25 Top