>How could I check to see if a given directory exist before attempting to create a file there at runtime? (the directory name is stored in a configuration table and it will probably exist most of the times, but...).
>
>Thanx in advance.
In addition to the advice you've already been given, there's a file in the Download section (Win 32 and other APIs) called Winfiles. It will allow you to verify whether or not the file or directory exists (you'll have to check the attributes which are returned), as well as various date and time information.
George
Ubi caritas et amor, deus ibi est