Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
There is no disk
Message
 
 
À
19/10/2011 09:51:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01526745
Message ID:
01526874
Vues:
55
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform