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
394 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Outlook Free & Paid Tools
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now