Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finally, a way around Outlook/MAPI dialogs on sending em
Message
De
28/05/2002 08:06:41
 
 
À
27/05/2002 08:07:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00655520
Message ID:
00661936
Vues:
25
>>I have a lot of reports with different data. It is impossible to make them
>>error free. So errors occurs sometimes and cause my web application to
>>spot responding since modal error is displayed in screen.
>>
>>I tried to use
>>SYS(2335,0)
>>
>>but this does not work from .EXE .
>>
>>How to fix this VFP bug ?
>
>I don't know, since I don't have the problem. The workaround for the Outlook dialog is not applicable to your situation, since (1) you don't know if the dialog is going to fire, (2) you can't predict the time it will fire, and (3) you can't differentiate the Window using AppActivate(). I'd guess that a monitor of some sort in the Windows event loop that responded to the creation of the messagebox might be an answer, but it isn't really suited to use in a COM environment IAC, and wouldn't be coded in VFP or a small script either. Perhaps you should reconsider your choice of report generation tool; there are times when the native tools don't give you the needed control, and this sounds like one of them.

I think I don't need to dedect is the error occured or not.
I need to simulate a enter key press or mouse click to the center of screen.
If erorr messagex box appers, this is treated as response to this error.
If erorr message does not occur,this is ignored.
I think that it must be possible to implement mouse clicking to a specific
position in screen as macro recorders work in such way.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform