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 - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Programmatically set "automatically generate microsoft exchange views" ?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 28th 07, 04:29 PM posted to microsoft.public.outlook
Neal[_2_]
external usenet poster
 
Posts: 4
Default Programmatically set "automatically generate microsoft exchange views" ?


Hi all

I'm trying to find out how to set "automatically generate microsoft exchange
views" on various folders in Outlook 2003 programmatically. I can't find
much documentation on this.

I don't really care which programming environment I have to do this from.

The most promising was CDO folder property CdoPR_GENERATE_EXCHANGE_VIEWS
(&H36E9000B) as documented on CDOLIVE. Unfortunately this seems to be no
longer supported :-(

Can someone point me at some more in depth or up to date documentation, or
help me out here ?


Many thanks

Neal


Ads
  #2  
Old September 28th 07, 06:06 PM posted to microsoft.public.outlook
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Programmatically set "automatically generate microsoft exchange views" ?

That's the only documentation on that property I've ever seen. Why do you
say it's not supported?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Neal" wrote in message
...

Hi all

I'm trying to find out how to set "automatically generate microsoft
exchange views" on various folders in Outlook 2003 programmatically. I
can't find much documentation on this.

I don't really care which programming environment I have to do this from.

The most promising was CDO folder property CdoPR_GENERATE_EXCHANGE_VIEWS
(&H36E9000B) as documented on CDOLIVE. Unfortunately this seems to be no
longer supported :-(

Can someone point me at some more in depth or up to date documentation, or
help me out here ?


Many thanks

Neal



  #3  
Old October 3rd 07, 10:36 AM posted to microsoft.public.outlook
Neal[_2_]
external usenet poster
 
Posts: 4
Default Programmatically set "automatically generate microsoft exchange views" ?

Ken, thanks for your interest.

2 things lead me to believe it's not supported:

I am using Interop.MAPI.dll v1.21.0.0 via c#

When I use the object browser to look at the properties available under
cdoPropTags, I do not see CdoPR_GENERATE_EXCHANGE_VIEWS, while I do see most
of the others mentioned on CDOLIVE.

I was just about to say when I try to find the property with the numeric
value rather than a property name it fails, and it's just started working !!
So I either made a mistake testing it last week, or by sheer power of you
thinking about it it started working :-)

Thanks

"Ken Slovak - [MVP - Outlook]" wrote in message
...
That's the only documentation on that property I've ever seen. Why do you
say it's not supported?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Neal" wrote in message
...

Hi all

I'm trying to find out how to set "automatically generate microsoft
exchange views" on various folders in Outlook 2003 programmatically. I
can't find much documentation on this.

I don't really care which programming environment I have to do this from.

The most promising was CDO folder property CdoPR_GENERATE_EXCHANGE_VIEWS
(&H36E9000B) as documented on CDOLIVE. Unfortunately this seems to be no
longer supported :-(

Can someone point me at some more in depth or up to date documentation,
or help me out here ?


Many thanks

Neal





  #4  
Old October 3rd 07, 12:03 PM posted to microsoft.public.outlook
Neal[_2_]
external usenet poster
 
Posts: 4
Default Programmatically set "automatically generate microsoft exchange views" ?

Further investigation sheds more light, this only actually works against the
Inbox, any other folder (sent mail, contacts etc) all fail with

Error: System.Runtime.InteropServices.COMException (0x8004010F):
[Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]]

Any ideas how to get to this for other folders other than inbox ?

cheers

"Neal" wrote in message
...
Ken, thanks for your interest.

2 things lead me to believe it's not supported:

I am using Interop.MAPI.dll v1.21.0.0 via c#

When I use the object browser to look at the properties available under
cdoPropTags, I do not see CdoPR_GENERATE_EXCHANGE_VIEWS, while I do see
most of the others mentioned on CDOLIVE.

I was just about to say when I try to find the property with the numeric
value rather than a property name it fails, and it's just started working
!! So I either made a mistake testing it last week, or by sheer power of
you thinking about it it started working :-)

Thanks

"Ken Slovak - [MVP - Outlook]" wrote in message
...
That's the only documentation on that property I've ever seen. Why do you
say it's not supported?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Neal" wrote in message
...

Hi all

I'm trying to find out how to set "automatically generate microsoft
exchange views" on various folders in Outlook 2003 programmatically. I
can't find much documentation on this.

I don't really care which programming environment I have to do this
from.

The most promising was CDO folder property CdoPR_GENERATE_EXCHANGE_VIEWS
(&H36E9000B) as documented on CDOLIVE. Unfortunately this seems to be no
longer supported :-(

Can someone point me at some more in depth or up to date documentation,
or help me out here ?


Many thanks

Neal







  #5  
Old October 3rd 07, 02:46 PM posted to microsoft.public.outlook
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Programmatically set "automatically generate microsoft exchange views" ?

I don't know, I haven't used that property since the Exchange 5.5 days. I do
know however that using CDO 1.21 is not supported and mostly will blow up if
used from managed code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Neal" wrote in message
...
Further investigation sheds more light, this only actually works against
the Inbox, any other folder (sent mail, contacts etc) all fail with

Error: System.Runtime.InteropServices.COMException (0x8004010F):
[Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]]

Any ideas how to get to this for other folders other than inbox ?

cheers


  #6  
Old October 3rd 07, 04:23 PM posted to microsoft.public.outlook
Neal[_2_]
external usenet poster
 
Posts: 4
Default Programmatically set "automatically generate microsoft exchange views" ?

I take it there is no other alternative at the moment other than:

- Do it in unmanaged environment (e.g vb6) or
- Wait for Outlook 2007 to roll-out in my environment
?


"Ken Slovak - [MVP - Outlook]" wrote in message
...
I don't know, I haven't used that property since the Exchange 5.5 days. I
do know however that using CDO 1.21 is not supported and mostly will blow
up if used from managed code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Neal" wrote in message
...
Further investigation sheds more light, this only actually works against
the Inbox, any other folder (sent mail, contacts etc) all fail with

Error: System.Runtime.InteropServices.COMException (0x8004010F):
[Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]]

Any ideas how to get to this for other folders other than inbox ?

cheers




  #7  
Old October 3rd 07, 04:53 PM posted to microsoft.public.outlook
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Programmatically set "automatically generate microsoft exchange views" ?

Or try another API for managed code such as Redemption (www.dimastr.com),
even Extended MAPI isn't an option for managed code, it's not supported
either.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Neal" wrote in message
...
I take it there is no other alternative at the moment other than:

- Do it in unmanaged environment (e.g vb6) or
- Wait for Outlook 2007 to roll-out in my environment
?


 




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
Do I need auto. generate MS Exchange views in regular OL 2007 ? CGordy Outlook - Installation 1 July 14th 07 06:11 AM
why do the letters "bay" in the full name field generate a title? azteckeeper Outlook - Using Contacts 2 March 28th 07 11:04 PM
Unable to generate more "Inbox" folders in OE Steady Eddie Outlook Express 1 January 23rd 07 08:59 PM
PST views - Can I hide "Search Folders" and "Deleted Items"? Rob Outlook - General Queries 1 August 25th 06 07:41 PM
Error reads "Your Microsoft Exchange Server is not available"? GolfinMel Outlook - Installation 3 March 20th 06 07:09 PM


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