I'm looking for source-code for a browse- or alternative getdirectory function.
The currect getdirectory function has a win 3.1 look and I would like to show it in my own language with, for example, parameters for the command buttons etc.
I'll back Rick on this one. I've also found Bela's products to be top-notch and wouldnt hesitate to recommend any of them. As Rick said, it's only $10 USD to register. Or you can obtain his FolderTree control for $20 and it extends functionality far beyond the GetDir control.
John,
My first instinct was to recommend the MSCommDialog as well, but IIRC, it's only useful for returning fully qualified pathes to files, not folders.
Jim,
MSCommDialog is an ActiveX that is included with Visual Studio. Go to Tools>Options and on the Controls tab, select ActiveX controls. Look for MS Common Dialog Control in the list. Jon Hawkins
The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
Seems kinda hokey to ask the user to select a "file", when what you are really after is the folder. For Instance, a "Change StartUp Directory" command button that subsequently presents the user with a "Select File" dialog box.
What happens if the folder is empty? (My end-users would go into a frenzy) Jon Hawkins
The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
GetDirectoy() is bad though. For instance getting to the desktop is stupid in GetDir(). It's interface dates back to FPD, FPW 2.6 and Win 3.11 doesn't it? I'd prefer to try anything but it and work around whatever I have to do. Especially when he already asks about an alternative. API, WSH, ActiveX..anything. JMO
John Durbin
john@eps-software.com
MCP Visual FoxPro
ICQ VFP ActiveList #73897253
Hang on baby, VFP 7.0 is coming with an improved GetDir()!
It looks/feels Win9x, including, thank heaven, a "new folder" button. Can you wait till the Fall (last release date I heard was Sep 2001).
Dan Dan Walter
DWalter@zoo.uvm.edu
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.