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
396 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
  • 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

810 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