Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locfile()
Message
 
To
21/07/1998 11:50:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00119369
Message ID:
00119902
Views:
18
>>>The Locfile() command returns a VFP error if you click CANCEL, instead of a null string or other "This didn't work" value. I *can* use Getfile(), although I would prefer Locfile() for a specific use. Any suggestions other than disabling our standard error handler before the call, trapping for this error and then re-enabling the error handler?
>>>
>>>TIA
>>>Barbara
>This may be totally off the wall and I haven't tried it my self but how about the Common Dialogs Control - COMDLG32.OCX. It has several methods which you could modify to handle returns your self.

Thanks, Terry. I will take a look at COMDLG32, although at present I'm using GetFile() which does *most* of what I want.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform