Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This code Stops my exe
Message
 
To
07/10/2003 01:40:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00835628
Message ID:
00835823
Views:
9
Randy,

If MyDir variable is not character type, the function will crash.
Also note that Directory() returns .F. for directories with Hidden or System attributes.

Cheers,

Zoran


>Hi. VFP7 user on an NT4 network.
>
>The following line of code shuts down my runtime exe when it is executed:
>
>
IF NOT DIRECTORY('f:\'+(mydir))

>
>It should return a logical. Looks pretty simple. Any ideas?
Previous
Reply
Map
View

Click here to load this message in the networking platform