[AccessD] SendObject Attachments

jwcolby jwcolby at colbyconsulting.com
Mon Dec 17 08:40:32 CST 2007


Thanks Max and Gustav. 


John W. Colby
Colby Consulting
www.ColbyConsulting.com 
-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo
Sent: Monday, December 17, 2007 6:42 AM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] SendObject Attachments

Also, if you haven't got Exchange (as we don't) then:-


  'Microsoft CDO for Windows 2000 Library
  Dim objcdo As New CDO.Message
  Dim objBP As New CDO.Message
  
  ' Late Binding - which we use
  'Dim objcdo, objBP

I have just tested both, and they both work.
  
There is also a Microsoft CDO 1.21 Library in my References Library, but I
don't know what this brings to the table?

Max
 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Monday, December 17, 2007 11:04 AM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] SendObject Attachments

Hi John

Yes, ref. is: 
  Microsoft CDO for Exchange 2000 Library
Then:
  Dim msg As New CDO.Message

/gustav

>>> jwcolby at colbyconsulting.com 17-12-2007 11:54 >>>
Any chance I can reference a specific lib so that I can get early binding
and intellisense to get me started using this thing?  IOW instead of

  Dim objCDO, objBP
  Set objCDO = CreateObject("CDO.Message")    ' Create the message object.

we have a Dim cdo as XXXX where xxxx is an actual object type.  Likewise for
objBP.

John W. Colby
Colby Consulting



--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list