Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping an Error
Message
From
25/04/2000 17:17:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00362580
Message ID:
00363362
Views:
13
Hi David,

Many thanks for turning the light on for me on this. Your inputs have been a big help in understanding VFP... Now, IF I got paid to program I'd be in high cotton and barking at the moon...

Do you do your ON ERROR ... in your Main.prg ?

Thanks

>ObjError is it's own .prg, it's on the path at devtime and built into the exe for runtime. Also I use ON ERROR ObjError( .null., ... ) to catch the few errors that might occur outside of the objects.
>
>My path is just .\SOURCE\;..\;C:\PROGRAM FILES\VS98\VFP98\TOOLS\
>
>I store common stuff to all apps in the ..\ directory
>
>I try very hard to set up my forms, objects and code so they can be unit tested without junk like an oApp service provider being required. I never, ever, do a build app I can just run my forms from the designer. I find it simplifies my life a lot. I don't do humungoApp development though most of what I do are small single purpose applets.
>
>>Do you do a SET PROC TO DevProc or something like that when you open VFP? and keep ObjError() in a procedure file... or is ObjError.prg on your path???
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform