Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want an error for VFP Open dialog
Message
 
To
13/03/2004 10:15:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00885697
Message ID:
00885949
Views:
33
Yes, i'm lazy !! I like to write programs as short as possible. So when other developers read my code, they wont spend hours tring to figure it out because it's over defensive. So i guess lazyness can also be called productivity.


>I don't think error handling should be used to catch things a lazy programmer should be taking caring of.
>
>>Hi Craig,
>>
>>The problem here is i would also expect an exception to be triggered by the try-catch block, but a open dialog box is displayed to the user instead. I agree with you that the code is wrong and could be fixed simply by adding a if used() But the point of a try-catch block is to avoid unnecessary test like this, is it ?
>>
>>Why would VFP ask a user to open a table or select an OCX (when an OCX is not registered on the client machine)? It is really not an acceptable behavior from a development tool. It's like VFP saying "Hey you, programmer, you didn't do your job properly so let me ask the user if he can do a better job!"
>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform