Good Afternoon All:
The issue has been solved in disabling the mouse and keyboard while sendkeys is 
sending its data to the correct window.
The BlockInput function in user32.dll does the trick perfectly (famous last 
words).
VFP declaration:
DECLARE INTEGER BlockInput IN user32 INTEGER fBlockIt
lnResult  = BlockInput(1)  &&blocks all mouse and keyboard entry
lnResult  = BlockInput(0)  &&restore normal mouse and keyboard entry
If the function succeeds, the return value is nonzero.
I block the input just before the window is created then restore input after 
the window is destroyed. The mouse is frozen and the keyboard is blocked.
I'm still not happy with the sendkeys solution to sending mail to our web 
client but it is working for now (until the form is changed and keyboard script 
fails...)
The CDO message function failed from the outside because the Exchange Server is 
set to block all mail from spamhaus blocked IPs. I found out that most dialup 
POPs are on this list and so are many of the DSL and cable modem broadband 
providers.
I determined the IP was blocked and it took way too much effort to get the info 
out of the consultant as to what was happening on the Exchange side. I'm sure I 
will billed for this but it remains whether payment will follow...Why is 
getting information so darn hard to get? (rhetorically he says...)
Thanks to all that offered help and suggestions in this situation.
Best regards,

Jack Skelley


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to