Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook/MAPI dialogs on sending email
Message
From
08/08/2002 01:00:50
 
 
To
05/08/2002 01:54:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00686099
Message ID:
00687377
Views:
33
>Hi Ed,
>
>If I'm not mistaken, you have found the way around Outlook/MAPI dialogs on sending email, Is there any way that you could adapt to Nigel Coates' MAPIMail class ?
>

It should not be difficult to do; simply check to see if the MAPI client is Outlook, and if so, call the VBScript in my original solution immediately following a call to the Send method. The VBScript is relatively harmless, it simplybrings the Outlook dialog Window to the foreground using the Wscript.Shell's AppActivate method, waits a few seconds and then sends a keystroke to that dialog box using the Wscript.Shell's SendKeys method - everything is done by launching a script prior to invoking the Send, which runs a modal dialog.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform