Michael R Mattys
michael.mattys at adelphia.net
Tue Jan 6 14:25:57 CST 2004
Better late than never ... try this page http://www.mentalis.org/apilist/MakeSureDirectoryPathExists.shtml Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" <gustav at cactus.dk> To: "Access Developers discussion and problem solving" <accessd at databaseadvisors.com> Sent: Tuesday, January 06, 2004 1:46 PM Subject: Re: [AccessD] Get Folder Name via API > Hi Andy > > You could try letting your code save the file: > > d:\somefolder\yournewfolder\NUL > > NUL is a valid filename but doesn't exist as NUL is the reserved name > for the NUL device ... > > /gustav > > > > Thanks guys. You all have code that uses the same API (SHBrowseForFolder). > > Works well but I had hoped to find some way of using the File Save/Save As > > dialog but returning just a folder name. The advantage of that is that you > > can create a new folder on the hoof. But if it was possible then I'm sure > > you'd be using it too. Thanks for all your suggestions. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com