> My client needs a way to use the Windows Common Controls dialogue (or > something better) to allow the user to select various types of > media/image files and then import them into his database. > > Would the Windows Common Controls dialog be the best for this or would > you recommend something else?
Can you use VFP's GETPICT()? It brings up a dialog for images and returns back the selected file, if any, which you could import.
If you need multiple file capability, I'd use GETDIR() to let them locate the folder and suck all the file names into a mover dialog and let them "move" the files to be imported. You capture the file names moved and import.
I've had problems in the past with the Windows Common Dialog, not with VFP, but with VB and other tools.
Jim Eddins
©2005 Profox |