Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In VFP can i use On error goto Errorhandler like VB
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00790450
Message ID:
00790512
Views:
23
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform