Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 February 27th, 2004, 01:04 PM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
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
Reply With Quote
  #2 (permalink)  
Old October 13th, 2004, 03:21 AM
Registered User
 
Join Date: Oct 2004
Location: , , .
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
Reply With Quote
  #3 (permalink)  
Old October 15th, 2004, 06:58 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
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
Reply With Quote
  #4 (permalink)  
Old December 22nd, 2004, 05:00 PM
Registered User
 
Join Date: Dec 2004
Location: , , .
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.

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



All times are GMT -4. The time now is 05:44 PM.


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