Solved

Solution to original question worked for Outlook but does not appear to work for Outlook Express. Any suggestions?

Posted on 2011-03-25
4
402 Views
Last Modified: 2012-05-11
My original question was how to avoid the "Outlook Security Warning" message asking the user to "Allow" or "Deny" every single e-mail being created by an Access (.ADP Project) application.

The solution was to change from my original "DoCmd.SendObject" method to using a "CreateObject("outlook.application")" method in conjunction with MAPILab's "Advanced Security for Outook" add-in.

Although this seemed to work a treat on my development laptop, where I have a full copy of Outlook, it does not appear to work on my client's PCs where they tend to only have Outlook Express.
At the "CreateObject("outlook.application")" step in the VBA code, they are getting the error message :
Error Number : 429
Error Description : ActiveX component can't create object

Is a full version of Outlook required for this method?
Is there an alternative that can be suggested that would also work with Outlook Express?

Many thanks.
Colin.

0
Comment
Question by:colinasad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 84
ID: 35213909
You can't automate Outlook Express. MapiLabs only works with the full version of Outlook.

You can use MAPI automation, or CDO - but not OE.

0
 

Author Comment

by:colinasad
ID: 35213976
Thanks for the prompt response, LSMConsulting.

Apologies for appearing a bit thick here, but can you just confirm my understanding of what you are saying?
"OE" (Outlook Express ?) cannot be automated in the way the full Outlook program can?
Users with Outlook Express cannot avoid the "Allow / Deny" "Outlook Security Warning" when I try to send an e-mail from an Access application?

Regards. Colin.
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 35214027
Outlook Express cannot be automated. You cannot use CreateObject("OutlookExpress"), for example. There are not creatable objects exposed by OE.

The only "kludge" that I know of to semi-automate the process of sending an email is here:

http://www.vb-helper.com/howto_send_outlook_express_attachment.html

It relies on SendKeys, which is notoriously unreliable, so use this at your own discretion.

Personally, I'd tell the client that you can't do this. You'll end up with a frustrated client, and dropped/missed emails. Better to "cut the cord" up front than to try and explain why the utility that you built (and they paid for) doesn't work.
0
 

Author Closing Comment

by:colinasad
ID: 35214390
Thanks, LSMConsulting.
I just wanted to be sure I wasn't missing anything. My client will accept that somethings can be done and others can't.
Many thanks.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question