Hi Kamal,
I had only heard a little news on the release of the kit. I opened it up and did a quick search for GetDir() and the following note is in the VB.Net source:
'Displays a dialog box that allows to select a directory. Please note that
'this is not fully implemented as currently it asks the user to select a
'file and then extracts the directory part from it.
Before I spend the time to hook it all up into my project, it looks like it won't work already. The directory my user will select will not have any files in it. If this is the case please let me know since you know much more about the true functionality.
I look forward to checking out the rest of the kit, you did a lot of work on it and I'm going to pass the info around the office on it today.
Thanks !!!
Jace
>Hi Jace,
>
>Have you looked at the VFPToolkit for .NET? It supports all the VFP dialog functions such as GetFile(), GetDir(), GetPict() etc.
>
>The source code of all these functions is also available freely if you not not wish to use the Toolkit directly in your projects.
>
>Available at:
http://www.GotDotNet.com/team/vfp>
>Kamal
>
>>In good ole Visual FoxPro I would use GetDir().
>>
>>I need to let a user pick a directory for where image files will be stored. I have wasted all morning with the OpenFileDialog because it will only let me close the dialog if a file is selected. The user will NOT have a file to select, I need them to select a directory where files will eventually go.
>>
>>Any help would be appreciated. I thought for sure out of all the classes there would be something this simple already there. Maybe it's just hiding from me ?!?!?!?!
>>
>>TIA !!!
>>Jace