Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETDIR() and LFN's
Message
De
04/07/1999 05:31:59
 
 
À
04/07/1999 03:38:35
Raul Davila
Davila Programming Services
Toa Alta, Porto Rico
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00237276
Message ID:
00237284
Vues:
11
>Hi:
>
> I found a weird behavior using getdir().
> I made a small "post setup" executable to be run after the installation.
> Mainly what it does is ask the user to choose the directory where the app was installed (is there a way to tell the setup to pass the installation directory as a parameter to a post setup exe?).
>
> I call getdir() and when the dialog shows it has 8.3 names in it.
> If the user climbs up in the directory hierarchy, then the LFN's show!
>
>eg:
> If the current directory was c:\program files, the getdir() dialog shows c:\progra~1 and then if you doubleclick on c:\ you get the whole root directory and this time it shows \Program Files.
>
> Strange thing is I tried to reproduce it from inside VFP and it doesn't happen.
>
> Is this a documented bug?

Dear Raul,

did you try my bbGetDir free ocx? It is available here, at File Section- VFP in general group. You can also use Ed Rauh solution with shBrowseForFolder API function. (read at KB section) These correctly handles cases like this.

BB
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform