TZF - "Default Directory" & reindexing
Brian <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
Have an app where I need to be able to save a subset of a database to a CD or a floppy which can then be imported onto other computers Method ------ Export Extract required data into a tmp DBF ZIP the DBF Save ZIP to floppy (or burn to a CD) Import Use FileOpenDialog to locate ZIP file UNZIP the DBF Set DBF to recreate Indexes Open DBF <--- bingo MakeIndex ERROR NB If the ZIP is first copied to the hard disk, the problem does NOT occur ! Reason (after a couple of hours !!) ------ The FileOpenDialog leaves the system "default directory" set to the folder from which the last file was opened (in this case a floppy or CD) & MakeIndex generates temp files during the reindex in this "default directory" My Temp Workaround ------------------ Manually change the default directory before doing the Open My question ----------- Is there any way to tell Topaz to use a specific directory as its TEMP working directory ?? Regards, Brian ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt Or send an email to: [email protected] TOPICA - Start your own email discussion group. FREE! http://www.topica.com/partner/tag02/create/index2.html ==^================================================================