Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using GETDIR() and Non-drives
Message
De
12/02/2002 15:43:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00619033
Message ID:
00619103
Vues:
31
>>Yes, I know how the function works. What I want to know is how to find out if the user chose "My Computer" or "Desktop". Making it so they can't select them does solve the problem, yes, but so does deleting a command button because you have a bug in the click event.
>>
>>Does anyone have an answer to my actual question?
>>
>
>Sorry, but you're actual question is not legitimate, at least not on my tests. If I do
? GETDIR("c:\","test","test")
>and click on My Computer, it returns "C:\", which is the default drive for My Computer.
>If I click on My Documents, the return value is "C:\DOCUMENTS AND SETTINGS\JOHN.HERRING\MY DOCUMENTS\".
>If I click on Desktop, the return value is "C:\DOCUMENTS AND SETTINGS\JOHN.HERRING\DESKTOP\". That is what is happening here. Using VFP7 on Win2k.
>jfh


John,

I get the same results unless I click on something like Recycle or Control Panel. Only a drive letter is returned.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform