[AccessD] DoCmd.SendObject hangs MS Access app on a PC without Outlook Express or Outlook...

Charlotte Foust cfoust at infostatsystems.com
Tue Feb 4 13:28:01 CST 2003


I can't recall where we tracked it down, but we searched a lot on CDO
and discovered that we were likely to have problems in later versions.
We have an email piece in our applications and to avoid the errors and
hangups, we built code to test for CDO, which  isn't installed by
default in the later versions of Windows/Office, and which you need for
SendObject.  So we put the code that actually calls the CDO stuff in a
code library and set a reference to it.  That way, if the CDO library
reference breaks in our email code library, it doesn't kill the
application and the test for registry key tells up we can't use the
email calls to the code library.

Charlotte Foust

-----Original Message-----
From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] 
Sent: Tuesday, February 04, 2003 10:22 AM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] DoCmd.SendObject hangs MS Access app on a PC
without Outlook Express or Outlook...


THNX Charlotte!

Is that documented somewhere? MSDN?

Shamil

----- Original Message -----
From: "Charlotte Foust" <cfoust at infostatsystems.com>
To: <accessd at databaseadvisors.com>
Sent: Tuesday, February 04, 2003 7:37 PM
Subject: RE: [AccessD] DoCmd.SendObject hangs MS Access app on a PC
without Outlook Express or Outlook...


> You have to check the registry
>
> ... HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging 
> Subsystem\OleMessaging=1
>
> Charlotte Foust
>
> -----Original Message-----
> From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru]
> Sent: Tuesday, February 04, 2003 7:09 AM
> To: AccessD
> Subject: [AccessD] DoCmd.SendObject hangs MS Access app on a PC 
> without Outlook Express or Outlook...
>
>
> Hi All,
>
> Do you know any simple methods to check that a PC has Outlook Express 
> or Outlook installed and activated to not have MS Access app hanging 
> on execution of DoCmd.SendObject? (a customer reports that - I can't 
> check is it true or not because all my PCs have Outlook Express or 
> Outlook - simple way to deactivate them for testing purposes?)...
>
> TIA for any info, tips and tricks,
> Shamil
>
> --
> e-mail: shamil at smsconsulting.spb.ru
> Web: http://www.smsconsulting.spb.ru/shamil_s
>
> _______________________________________________
> 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

_______________________________________________
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