Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 18th, 2003, 10:33 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Outlook 2000 Automation

Hi,

I am creating an application that scans the outlook 2000 inbox for mails with a specific subject. It then needs to create a reply mail to be automatically sent out.

The problem I am getting is that Outlook creates a popup when the program tries to send the mail, asking the user if they want to allow access to Outlook.

Does anybody know how to programatically turn this off. The idea is the program will run without user intervention.

Thanks in advance

Byron
Reply With Quote
  #2 (permalink)  
Old July 4th, 2003, 10:31 AM
Authorized User
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Some steps that you might want to look at initially are:
a) Your setup of Outlook - do you have multiple profiles? Do you need to log into Outlook when starting it (Password etc)...
b) Though if you are using Outlook VBA, try not to invoke navigators but if you keep your approach to creating just a MailItem and then invoking MailItem.Send... When is this popup precisely occuring? Is it as you create the mail or when you invoke Send?

To give much more advice perhaps you could give some more details as to how you are creating this reply mail and your setup of Outlook etc.

Hope that this help inspire you onto a successful solution.

Regards,

Simon
Reply With Quote
  #3 (permalink)  
Old July 6th, 2003, 02:12 PM
Authorized User
 
Join Date: Jul 2003
Location: Reading, Berkshire, United Kingdom.
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alex_read
Default

Sorry Byron, there is no way of turning this message off via code!

Reply With Quote
  #4 (permalink)  
Old July 9th, 2003, 11:19 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Thanks for your help. I got around it in the end by using a third party mail component to send the mails.

Thanks again..
Reply With Quote
  #5 (permalink)  
Old July 10th, 2003, 01:10 AM
Authorized User
 
Join Date: May 2003
Location: Delhi, Delhi, India.
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you want then try CDO (Collaborative data Object) for mailing

Quote:
quote:Originally posted by byron
 Hi,

Thanks for your help. I got around it in the end by using a third party mail component to send the mails.

Thanks again..
Deepesh Jain
VB,VBA & .NET Specialist
Wiley Support Team
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Automation in Access arielalevy Access VBA 1 June 27th, 2006 07:00 PM
Outlook Automation Error www2004 Pro VB 6 4 August 12th, 2004 09:09 AM
Outlook 2000 errors byron Pro VB.NET 2002/2003 3 December 1st, 2003 10:17 AM
Outlook 2000 errors byron VB.NET 2002/2003 Basics 0 August 28th, 2003 09:08 AM
Access 2000 and Outlook vaheh Access VBA 1 August 13th, 2003 03:18 PM



All times are GMT -4. The time now is 06:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.