Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finally, a way around Outlook/MAPI dialogs on sending em
Message
De
27/05/2002 07:21:53
 
 
À
27/05/2002 02:37:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00655520
Message ID:
00661624
Vues:
23
Ed, thank you for reply.

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 use VFP REPORT command to create reports in Web server.
>>However, if there is an error in report, VFP displays
>>modal centered error messagebox having OK and HELP buttons.
>>This box which cannot be captured by ON ERROR.
>>
>>Is it possible to use your code to Click the OK button in this messagebox ?
>
>I doubt it will work in that situation, but you could always try it. The problem comes with knowing the exact text in the Window title (an inexact name can be used, but the results are unpredictable, since the first Window encountered matching as well as another window will be taken as the app window by AppActivate(). In addition, the timing of the delay needs to be predictable; firing AppActivate() and SendKeys() too early may cause the app to eat the keystroke.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform