Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SHBrowseForFolder API from VFP
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00495465
Message ID:
00495510
Views:
13
Hi Fritz,

In addition to George's suggestion, I wrote an article, published in FoxTalk, that uses Cristoph's STRUCT.VCX to do exactly that. It's also available on my website with all the source code.

Cheers,

Andrew

>Hi,
>
>I want to browse for a folder from VFP. I can use GETDIR(), but I'd like to
>provide the option to create a new folder.
>
>The API "SHBrowseForFolder" appears to be just what I need... but it makes
>extensive use of structures.
>
>I looked at "Q181289: HOWTO: Pass Structures to a DLL"
>(http://support.microsoft.com/support/kb/articles/q181/2/89.asp) but this
>passes empty structures. "SHBrowseForFolder" expects a pointer to an already
>populated BROWSEINFO structure.
>
>Has anyone used this API from VFP? If so, I'd really appreciate any advice
>or sample code!
>
>Thanks all!
>FL
>(FrtizLang_000@hotmail.com)


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Reply
Map
View

Click here to load this message in the networking platform