Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Mon, 24 Oct 2005 14:44:04 -0700,    group: microsoft.public.exchange2000.development        back       


Help for a noob   
We have an application that currently uses the CDONTS library to query an 
Exchange server for attachments to e-mail.  

We will be switching to Windows Server 2003 which does not have that 
library.  After some research, we think we need the CDOEX library to work 
with exchange.  However, I cannot find out how to get that library on my VB6 
development machine in order to alter our application.  I dowloaded the 
Exchange SDK Tools but that does not seem to include the library.  

I'm sure I am missing something simple, but could use a pointer to anything 
that might help.

Thanks
date: Mon, 24 Oct 2005 14:44:04 -0700   author:   Chris Dunaway

Re: Help for a noob   
CDONTS is a simple SMTP mail provider that you can use to send email on a NT 
server. The provider itself has no provision for accessing an Exchange 
mailbox if your application is accessing a mailbox then I would suspect that 
you application maybe using CDO 1.2 if you post some of the code someone 
should be able to confirm this for you.

CDOSYS is what replaces CDONTS on Windows 2x and can do everything that 
CDONTS could do in regards to sending email. CDOEX replaces CDOSYS when 
Exchange 2x is installed and can be used to access an Exchange mailbox over 
Exoledb. Because Exoledb can only be used locally on a Exchange server if 
you want to use CDOEX your code must run locally on the Exchange sever where 
the mailbox exists. see 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_techsel_bytechnology.asp?frame=true 
for more detail

If you want something that runs remotely to access an Exchange mailbox you 
could use CDO 1.2 and MAPI (or the Outlook Object Model) or you can use 
WebDAV to access the mailbox remotely. For more details on webdav see the 
Exchange SDK eg 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_esdk_enumerating_message_attachments_webdav.asp

Cheers
Glen


"Chris Dunaway"  wrote in message 
news:1AE1BB00-8175-40A2-A778-EB62625E7D24@microsoft.com...
> We have an application that currently uses the CDONTS library to query an
> Exchange server for attachments to e-mail.
>
> We will be switching to Windows Server 2003 which does not have that
> library.  After some research, we think we need the CDOEX library to work
> with exchange.  However, I cannot find out how to get that library on my 
> VB6
> development machine in order to alter our application.  I dowloaded the
> Exchange SDK Tools but that does not seem to include the library.
>
> I'm sure I am missing something simple, but could use a pointer to 
> anything
> that might help.
>
> Thanks
date: Tue, 25 Oct 2005 10:19:55 +1000   author:   Glen Scales [MVP]

Re: Help for a noob   
> mailbox if your application is accessing a mailbox then I would suspect that 
> you application maybe using CDO 1.2 if you post some of the code someone 
> should be able to confirm this for you.

You are correct.  It is using CDO 1.21, and also CDO for Windows 2000 
Library.  It seems to be throwing ActiveX errors on a Windows Server 2003 
box.  I was just assigned the task of making sure they work, but I have not 
yet delved deeply into the code.  I just wanted to find out if CDO 1.21 and 
CDO for Windows 2000 will work correctly on W2K3 and if they are installed by 
default on that OS.  

Thanks again,
date: Tue, 25 Oct 2005 07:49:02 -0700   author:   Chris Dunaway

Re: Help for a noob   
CDO 1.2 and CDOSYS will work fine on a Windows 2003. But CDO 1.2 is not 
installed by default on a Windows 2003 server and does not belong to the OS 
codebase. CDO is basically a wrapper for MAPI so it needs an underlying MAPI 
provider the two ways to get CDO 1.2 installed are to install Exchange on 
the server (which is overkill if you just want CDO 1.2) or install Outlook 
making sure you have "Collaboration Data Objects" in the list of Outlook 
optional components in the Office/Outlook installation. Your ActiveX errors 
are most likely due to not having CDO 1.2 installed or your still trying to 
call the old CDONTS objects which wont exist on the server.

Cheers
Glen

"Chris Dunaway"  wrote in message 
news:166CF3F0-C0AC-4D7B-BB78-C6A130FFDEA9@microsoft.com...
>> mailbox if your application is accessing a mailbox then I would suspect 
>> that
>> you application maybe using CDO 1.2 if you post some of the code someone
>> should be able to confirm this for you.
>
> You are correct.  It is using CDO 1.21, and also CDO for Windows 2000
> Library.  It seems to be throwing ActiveX errors on a Windows Server 2003
> box.  I was just assigned the task of making sure they work, but I have 
> not
> yet delved deeply into the code.  I just wanted to find out if CDO 1.21 
> and
> CDO for Windows 2000 will work correctly on W2K3 and if they are installed 
> by
> default on that OS.
>
> Thanks again,
>
>
date: Wed, 26 Oct 2005 09:59:40 +1000   author:   Glen Scales [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us