Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
By passing Outlook message box when sending emails
Message
 
To
22/02/2005 10:32:02
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00987238
Message ID:
00989252
Views:
24
Sammie,

Unfortunately I do not have OL 2003 version to play with. So, at the moment, I cannot reproduce the behavior and come up with any new idea. You may follow my original post: try to set the exact dialog window title in the oShell.AppActivate(WINDOW TITLE), or continue to play with other key combinations.


>Your suggestion worked but I had to put a 6 second delay before sending the TABS and ENTER to give the warning screen time to become active.
>>Try to find the appropriate key combination and replace the "Y" in sendkeys.
>>If " tab tab and an enter" work, then this should work:
>>
>>oShell.sendkeys("{TAB}{TAB}{ENTER}")
>>
>>
>>
>>>I have been using your yforceol.exe with Office 2000 to send emails from within another application. All was well. Now I have Office 2003 and the yforceol.exe starts as it should but sending the "Y" doesn't close the warning screen. I tried a "Y" from the keyboard and that doesn't work either. The default comes up with focus on the "No" button and it takes a click on the "Yes" (or tab tab) and an enter. Any suggestions on modifying your program to work with 2003?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform