Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETDIR() and LFN's
Message
From
04/07/1999 05:31:59
 
 
To
04/07/1999 03:38:35
Raul Davila
Davila Programming Services
Toa Alta, Puerto Rico
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00237276
Message ID:
00237284
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform