This is a really annoying one because it works on some machines but not others, 
and I can't see the difference.  I'm hoping it might be blindingly obvious to 
someone here what is wrong.

I'm using code within an Access 2003 module to send an email via Outlook 2000.  
The relevant part of the code is as follows:

Public Sub send_email_externally(EMail_who_to, Email_subject, Email_Message, 
Optional Email_attachment)
 
  'Make Outlook message
  '====================
  Dim ol As New Outlook.Application
  Dim olItem As Outlook.MailItem
    
  Set olItem = ol.CreateItem(olMailItem)

It errors on the last line - Run-time error '48': Error loading DLL, but as I 
mentioned, only on some machines.  All of the computers I've been looking at 
have the same references loaded, all have the whole of Access 2003 and all of 
Outlook 2000 installed.

Any clues, anyone?

TIA

Cathy


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/q7folB/TM
--------------------------------------------------------------------~-> 


Please zip all files prior to uploading to Files section. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AccessDevelopers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to