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