Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
There is no disk
Message
De
19/10/2011 11:25:00
 
 
À
19/10/2011 11:21:32
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:
01526887
Vues:
54
>>If your program checks all the drives for something, it should skip the CD drive. Unless your program depends on that there actually is a CD in the drive, of course. Without this change in the program, it's a bad design, and I suggest fixing it. In other words, I suggest fixing the reason for the problem. A solution to require that there always is a CD in the drive, is only to delay the problem until the CD drive breaks, or the CD is unreadable.
>
>Ok. You're very right. I check drives for something and there's no problem. I will do your suggest. But the real question (I don't expect you solve this) is why it is just necessary one time I find a CD (and return false the search cause there's nothing I'm looking for in it) for failing next time just because CD is not any more.
>
>Guess she only wants to hear a music CD and she makes the sin of starting my program just after. Then error will appear when she gets tired of her favourite artist.
>
>No sense for me.
>
>Anyway I doubt it's exactly that problem. I only check that at starting my system, not starting each form.
>
>Thank you.
>
> Héctor

One thing to check, is whether you have an invalid directory in the path setting. That can cause all kind of unpredictable problems, and it will slow down the program a lot.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform