Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 27th, 2004, 01:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default Bypass a Dialog Box

I use the SendObject method successfully to compose a GroupWise 6.0.2 note to staff via Access XP VBA. However, if GroupWise is not running, or if it is running and it's the first e-mail message composed since opening the program, a "Choose Profile" dialog box appears asking you to choose a Novell profile setting. Whether I click OK or check to keep as default and then click OK doesn't matter. This dialog box appears. Subsequent SendObject calls do not make the box appear... only its first use.

I would like to be able to bypass this dialog box and assume OK. Is there anything in the SendObject or other VBA code I can do to either click OK if the box is there, or to make the box not appear?

I'm weary of using SendKeys to send an ENTER because if the box doesn't appear later, I may be issuing an ENTER where I don't want it! Yikes!

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
__________________
Greg Serrano
Michigan Dept. of Environmental Quality
Air Quality Division
 
Old October 13th, 2004, 03:21 AM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've been searching for a long time for a solution to this one. Finaly found that it was quite simple:

In Groupwise go to ->Options ->Select: MailBox settings.
At the bottom you will see a drop down menu for your MIME Settings. Your Default setting is "ISO-Standard". If you set this to "Windows-Standard", you shoul be fine.

I realize that this response is a little after the fact but it's is also for anyone else who doesn't want to waste their time on this issue, thinking that their DoCmd.SendObject is not working properly, like I did. The whole thing has to do with Windows Messeging which makes the conection between the SendObject Command and the Mailclient you want to use.

Good luck,

Mat

Quote:
quote:Originally posted by SerranoG
 I use the SendObject method successfully to compose a GroupWise 6.0.2 note to staff via Access XP VBA. However, if GroupWise is not running, or if it is running and it's the first e-mail message composed since opening the program, a "Choose Profile" dialog box appears asking you to choose a Novell profile setting. Whether I click OK or check to keep as default and then click OK doesn't matter. This dialog box appears. Subsequent SendObject calls do not make the box appear... only its first use.

I would like to be able to bypass this dialog box and assume OK. Is there anything in the SendObject or other VBA code I can do to either click OK if the box is there, or to make the box not appear?

I'm weary of using SendKeys to send an ENTER because if the box doesn't appear later, I may be issuing an ENTER where I don't want it! Yikes!

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old October 15th, 2004, 06:58 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Nope... the box still appears. Thanks for your effort.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old December 22nd, 2004, 05:00 PM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sidman987
Default

When i send a message using sendobject, Groupwise always prompts to select the profile. How do I get past this?

Sid.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Dialog Box hari.gomatum Javascript 3 October 4th, 2007 02:09 AM
Dynamic Dialog Box peace2007 Ajax 1 September 26th, 2007 08:26 AM
Append dialog Box paul20091968 Access VBA 1 April 28th, 2006 10:56 AM
insert dialog box in a dialog box BurhanKhan Visual C++ 7 June 1st, 2004 07:53 PM
Custom Dialog Box snakedog Access 1 March 12th, 2004 09:37 PM





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