Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoid open file dialog
Message
From
14/07/2006 16:28:02
Judith Berry
Keystone Consulting Services, Inc.
Daleville, Indiana, United States
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01135915
Message ID:
01136563
Views:
9
Hi Tom,

You could check for error(52).


Tim Wilson


>When I have a bug and my application tries to execute a command against a table, bute no table is open in the current select area, VFP shows the open file dialog. This is a big security hole I would like to avoid. I would just want the command to raise an error (as it does if the user doesn't pick a file). If inside a try/catch, it should fall to the catch block.
>
>I heard that there was (finally!) a way to do this in VFP9, but I can't find it. Can someone help?
>
>TIA.
>Tom Green
Previous
Reply
Map
View

Click here to load this message in the networking platform