Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I am employing the statment "if file('d:\hisname.mem')" in an app. Most users have a D:drive and a few do not. My statement causes an error. Do I need to employ an error handler is this case?
>problem seems to have gone away as fast as it came. ?????
If the problem comes back try using the drivetype() command:
if drivetype('d') # 1 and file('d:\hisname.mem')
or
if drivetype('d') = 3 and file('d:\hisname.mem') &&if you want it to be just a hard drive
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement