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

Gustav Brock gustav at cactus.dk
Tue Feb 4 14:40:01 CST 2003


Hi Shamil

> But you said that DoCmd.SendObject works on your PC with The Bat mailer
> installed but without MAPI (and without Outlook xx) - right?

Nope. The Bat is configured to support MAPI and installs its own
mapi32.dll to do so. The original (if any) is renamed to
mapi32bak.dll.
It looks, however, like mapi32.dll is installed at least with
Windows 2000; I have a renamed version 1.0.2536.0 in my system32
folder.

/gustav


> ----- Original Message -----
> From: "Gustav Brock" <gustav at cactus.dk>
> To: "Shamil Salakhetdinov" <accessd at databaseadvisors.com>
> Sent: Tuesday, February 04, 2003 10:58 PM
> Subject: Re: [AccessD] DoCmd.SendObject hangs MS Access app on a PC without
> Outlook Express or Outlook...


>> Hi Shamil
>>
>> Found another key which you could check out:
>>
>>
> HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OptionalComponents\MAPI\I
> nstalled=1
>>
>> >  .. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging
>> >   Subsystem\OleMessaging=1
>>
>> I do not have this key.
>> Only this:
>>
>>  .. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging
>>   Subsystem\MSMapiApps\outstore.dll:Microsoft Outlook
>>
>> Further, The Bat claims to install mapi32.dll to activate MAPI.
>> This tells me that if mapi32.dll is present, MAPI may work.
>> If it is not present, MAPI is not installed.
>>
>> I may be wrong - I'm no expert in this. I usually install my own mail
>> tool which shortcuts this mess.
>>
>> /gustav
>>
>>
>> > Could you please check does your PC with The Bat mailer have this system
>> > Registry key, which Charlotte mentioned?:
>>
>> >  .. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging
>> >   Subsystem\OleMessaging=1
>>
>> >> DoCmd.SendObject does not require Outlook xxx.
>> >> Many other mail clients will do.
>> >>
>> >> I use this on a machine with The Bat mailer but no Outlooks installed.
>> >>
>> >> /gustav
>> >>
>> >>
>> >> > 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?)...




More information about the AccessD mailing list