FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
ZIP file compression
ZIP file compression
Débuté par Ricardo, 15 juil. 2008 10:45 - 5 réponses
Connectez-vous…
Ricardo
#1
Posté le 15 juillet 2008 - 10:45
Hello, someone could tell me where I could find any procedure or example of a ZIP file compression in Windev, please!!!.
I am need generate backup of files FIC, I have a class for example, but does not work in version XII of Windev.
Regards
Signaler
0
0
Jimbo
#2
Posté le 15 juillet 2008 - 10:46
Hi Ricardo,
for Classic HyperFile only, you cannot zip the files of an application directly from the running application, because they are open and in use. It doesn't help to close the files - as long as the analysis is active, the files are still 'in use'.
The rather simple solution ist to start a mini-application for zipping the files and directly after start you have to close the main application. After the files are selected, zipped and saved you can restart the main application and close the mini-application.
Kind regards,
Guenter
Signaler
0
0
Ricardo
#3
Posté le 15 juillet 2008 - 10:48
Guenter Hello, thank you for your answer.
Well, I got an example for compression, but unfortunately not working with the WD XII, works only in WD XI and I already converted all application.
Anyway I will need to find another example that can help generate automatic .zip files for the end-user.
Regards
Signaler
0
0
heinz kuebler
#4
Posté le 15 juillet 2008 - 10:49
why not using the existing WD commands like zipcreate and zipadddirectory ?
I use them to realize a user-driven backup of the application data files (FIC+NDX)
opposed to Guenters message it is possible to do this with "live data": i close all files and copy them to a temporary directory. from here i use the WD zip commands which can create WDZ or Zip archives
regards, Heinz
Signaler
0
0
Ricardo
#5
Posté le 15 juillet 2008 - 10:50
Okay, I will try to use these commands WD, I was using one. DLL to generate free to compression.
Thankful for answers. :spos:
Signaler
0
0
Ricardo
#6
Posté le 15 juillet 2008 - 10:50
is working with the commands that you showed me, grateful! :spos::rp:
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte