Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Zip & Unzip of tables ???

Status
Not open for further replies.

lemonjuice

Programmer
Jun 12, 2003
62
ZA
We did an application whereby you can change the interface to look to different sets of tables, we want to allow our client to zip - backup these different sets of tables in the different directories. Obviously we have to call winzip or pk-zip in some way and set the directory that should be zipped. This is not all , we also want to allow the user to restore the zip backup in the same directory that it has been made in. I have no clue how to do this in ObjectPal - Paradox9 (developers addition), could anyone please give me some guidelines?!?! Should we maybe consider calling a little Visual Basic application to do this out of ObjectPal?
 
lemonjuice,

In ObjectPal you can call execute() to run an external program such as winzip.

eg.

execute("winzip32 [-min] action [options] filename[.zip] files
")

You can use command line options with winzip to set directories and file names. You can also set these commands with variables in objectPal to get control of winzip within paradox.

Visit for command winzip command line info.

Hope this helps
Perrin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top