Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In VFP can i use On error goto Errorhandler like VB
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00790450
Message ID:
00790512
Vues:
21
I am really sorry could you please tell me how i can add the programs directory to my application path.

All the programs work fine we have more than 50 programs in the programs folder. all work fine except this mapierror does'nt work.

because may be when i open the outlook after opening the outlook if i decide to cancel it then it might be not recognizing the path
ON ERROR DO "PROGRAMS\mapierror"

Could you please tell me what will be the best way to add those 4 lines mapierror.prg

Is there a way i can add those 4 lines in the button click event where i am calling the email function.

*****************************
aError(ErrorArray)
IF ErrorArray(1,1) = 1429 && mapi error
MapiError = ErrorArray(1,6)
ELSE
MESSAGEBOX("ERROR HAS OCCURED "+ MESSAGE())
ENDIF
RETURN
******************************

Thank you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform