Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
There is no disk
Message
From
19/10/2011 10:00:28
 
 
To
19/10/2011 09:51:04
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01526745
Message ID:
01526874
Views:
54
>>Do you have some code checking if a certain directory exists?
>>IF DIRECTORY("E") etc...
>>I had exactly the same error running this code:
>>
>>FOR lnDriveNr = 3 TO 26
>>	*
>>	lcDrive = CHR(64 + lnDriveNr)
>>	*
>>	IF DIRECTORY(FORCEPATH("MyFolder", lcDrive + ":\Projects"))
>>		*-- Here the error occured.
>>	ENDFOR
>>	*
>>ENDSCAN
>>
>
>Yes, Christian but I haven't actualized since a few month the last system which shows that problem right now.
>
>I suppose I have to ask for more details to isolate the forms which causes the error.
>
>Thank you.
>
> Héctor

In my code it always happend when you had a CD in the CD drive, and after you put out the CD, the IF DIRECTORY("D") code would raise the error. When you put the CD back in, then the programs work again.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform