General information
Category:
Internet applications
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only