PC Review


Reply
Thread Tools Rate Thread

CDOEXM in C#

 
 
=?Utf-8?B?QmFycnkgRyBGcmVlbWFu?=
Guest
Posts: n/a
 
      1st Mar 2004
I'm fairly new to C# and I need to be able to enumerate the storage groups and mailstores on our Exchange 2k server.

So far, i've figured out that I need to ue CDOEXM which I've added as a COM reference.

I can instatiate a server object and iDataSource2:

CDOEXM.ExchangeServer ExchSrvr = new CDOEXM.ExchangeServerClass();
CDOEXM.IDataSource2 ds2;

But how do I attach the IDataSource2 with the server object?

Sorry if this is a bit basic.. I'm struggling.. <G> I was lookig at the article for this in VB.NET but I'm having difficulty making the transistion

After that, I have to do something like:

ds2.open(server, blah, blah, wossname, thing) I assume?

Bazz


 
Reply With Quote
 
 
 
 
Jay B. Harlow [MVP - Outlook]
Guest
Posts: n/a
 
      1st Mar 2004
Barry,
I have not used CDOEXM itself, so I cannot help you with specifics.

The following site provides a plethora of articles on using Outlook (and
Exchange Server) from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay

"Barry G Freeman" <(E-Mail Removed)> wrote in message
news:A28177C5-BFB6-4F51-AA18-(E-Mail Removed)...
> I'm fairly new to C# and I need to be able to enumerate the storage groups

and mailstores on our Exchange 2k server.
>
> So far, i've figured out that I need to ue CDOEXM which I've added as a

COM reference.
>
> I can instatiate a server object and iDataSource2:
>
> CDOEXM.ExchangeServer ExchSrvr = new CDOEXM.ExchangeServerClass();
> CDOEXM.IDataSource2 ds2;
>
> But how do I attach the IDataSource2 with the server object?
>
> Sorry if this is a bit basic.. I'm struggling.. <G> I was lookig at the

article for this in VB.NET but I'm having difficulty making the transistion.
>
> After that, I have to do something like:
>
> ds2.open(server, blah, blah, wossname, thing) I assume?
>
> Bazz
>
>



 
Reply With Quote
 
Barry Freeman
Guest
Posts: n/a
 
      1st Mar 2004
It's an interesting collection, but doesn't help in this case
unfortunately.

On Mon, 1 Mar 2004 09:55:33 -0600, "Jay B. Harlow [MVP - Outlook]"
<(E-Mail Removed)> wrote:

>Barry,
>I have not used CDOEXM itself, so I cannot help you with specifics.
>
>The following site provides a plethora of articles on using Outlook (and
>Exchange Server) from .NET.
>
>http://www.microeye.com/resources/res_outlookvsnet.htm
>
>Hope this helps
>Jay
>
>"Barry G Freeman" <(E-Mail Removed)> wrote in message
>news:A28177C5-BFB6-4F51-AA18-(E-Mail Removed)...
>> I'm fairly new to C# and I need to be able to enumerate the storage groups

>and mailstores on our Exchange 2k server.
>>
>> So far, i've figured out that I need to ue CDOEXM which I've added as a

>COM reference.
>>
>> I can instatiate a server object and iDataSource2:
>>
>> CDOEXM.ExchangeServer ExchSrvr = new CDOEXM.ExchangeServerClass();
>> CDOEXM.IDataSource2 ds2;
>>
>> But how do I attach the IDataSource2 with the server object?
>>
>> Sorry if this is a bit basic.. I'm struggling.. <G> I was lookig at the

>article for this in VB.NET but I'm having difficulty making the transistion.
>>
>> After that, I have to do something like:
>>
>> ds2.open(server, blah, blah, wossname, thing) I assume?
>>
>> Bazz
>>
>>

>


--
BAzz

 
Reply With Quote
 
Jay B. Harlow [MVP - Outlook]
Guest
Posts: n/a
 
      1st Mar 2004
Barry,
I was thinking the articles on CDOEX were on CDOEXM...

Don't the CDOEX articles help enough to get you going in CDOEXM? Especially
the articles on using Reflection to call into CDO?

I'm checking a couple sources, but nothing yet.

Hope this helps
Jay

"Barry Freeman" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> It's an interesting collection, but doesn't help in this case
> unfortunately.
>
> On Mon, 1 Mar 2004 09:55:33 -0600, "Jay B. Harlow [MVP - Outlook]"
> <(E-Mail Removed)> wrote:
>
> >Barry,
> >I have not used CDOEXM itself, so I cannot help you with specifics.
> >
> >The following site provides a plethora of articles on using Outlook (and
> >Exchange Server) from .NET.
> >
> >http://www.microeye.com/resources/res_outlookvsnet.htm
> >
> >Hope this helps
> >Jay
> >
> >"Barry G Freeman" <(E-Mail Removed)> wrote in message
> >news:A28177C5-BFB6-4F51-AA18-(E-Mail Removed)...
> >> I'm fairly new to C# and I need to be able to enumerate the storage

groups
> >and mailstores on our Exchange 2k server.
> >>
> >> So far, i've figured out that I need to ue CDOEXM which I've added as a

> >COM reference.
> >>
> >> I can instatiate a server object and iDataSource2:
> >>
> >> CDOEXM.ExchangeServer ExchSrvr = new CDOEXM.ExchangeServerClass();
> >> CDOEXM.IDataSource2 ds2;
> >>
> >> But how do I attach the IDataSource2 with the server object?
> >>
> >> Sorry if this is a bit basic.. I'm struggling.. <G> I was lookig at

the
> >article for this in VB.NET but I'm having difficulty making the

transistion.
> >>
> >> After that, I have to do something like:
> >>
> >> ds2.open(server, blah, blah, wossname, thing) I assume?
> >>
> >> Bazz
> >>
> >>

> >

>
> --
> BAzz
>



 
Reply With Quote
 
Barry Freeman
Guest
Posts: n/a
 
      2nd Mar 2004
hmm.. I'll check them out more deeply.
Looking forwards to being able to do Exchange as easily as active
Directory
BAzz
On Mon, 1 Mar 2004 14:41:29 -0600, "Jay B. Harlow [MVP - Outlook]"
<(E-Mail Removed)> wrote:

>Barry,
>I was thinking the articles on CDOEX were on CDOEXM...
>
>Don't the CDOEX articles help enough to get you going in CDOEXM? Especially
>the articles on using Reflection to call into CDO?
>
>I'm checking a couple sources, but nothing yet.
>
>Hope this helps
>Jay
>
>"Barry Freeman" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> It's an interesting collection, but doesn't help in this case
>> unfortunately.
>>
>> On Mon, 1 Mar 2004 09:55:33 -0600, "Jay B. Harlow [MVP - Outlook]"
>> <(E-Mail Removed)> wrote:
>>
>> >Barry,
>> >I have not used CDOEXM itself, so I cannot help you with specifics.
>> >
>> >The following site provides a plethora of articles on using Outlook (and
>> >Exchange Server) from .NET.
>> >
>> >http://www.microeye.com/resources/res_outlookvsnet.htm
>> >
>> >Hope this helps
>> >Jay
>> >
>> >"Barry G Freeman" <(E-Mail Removed)> wrote in message
>> >news:A28177C5-BFB6-4F51-AA18-(E-Mail Removed)...
>> >> I'm fairly new to C# and I need to be able to enumerate the storage

>groups
>> >and mailstores on our Exchange 2k server.
>> >>
>> >> So far, i've figured out that I need to ue CDOEXM which I've added as a
>> >COM reference.
>> >>
>> >> I can instatiate a server object and iDataSource2:
>> >>
>> >> CDOEXM.ExchangeServer ExchSrvr = new CDOEXM.ExchangeServerClass();
>> >> CDOEXM.IDataSource2 ds2;
>> >>
>> >> But how do I attach the IDataSource2 with the server object?
>> >>
>> >> Sorry if this is a bit basic.. I'm struggling.. <G> I was lookig at

>the
>> >article for this in VB.NET but I'm having difficulty making the

>transistion.
>> >>
>> >> After that, I have to do something like:
>> >>
>> >> ds2.open(server, blah, blah, wossname, thing) I assume?
>> >>
>> >> Bazz
>> >>
>> >>
>> >

>>
>> --
>> BAzz
>>

>


--
BAzz

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDOEXM dll reference Tommy Holm Jakobsen Microsoft C# .NET 0 9th Jul 2008 10:45 PM
.NET version of CDOExM? Gregory Gadow Microsoft Dot NET Framework 0 4th Apr 2006 09:05 PM
CDOEXM Issues KPipher@simcoehealth.org Microsoft ASP .NET 0 13th Jun 2005 07:37 PM
CDOEXM and ActiveDS =?Utf-8?B?R0c=?= Microsoft Outlook VBA Programming 0 9th Feb 2005 02:41 PM
CDOEXM in VB.Net Cary Microsoft Windows 2000 Active Directory 1 30th Aug 2004 09:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:17 PM.