HB_ZipFile() & HB_UnZipFile()

Source code related resources

Moderator: Rathinagiri

User avatar
mustafa
Posts: 971
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 189 times
Contact:

HB_ZipFile() & HB_UnZipFile()

Post by mustafa »

Hola amigos
Les presento un nuevo experimento basado en el Sample
http://www.hmgforum.com/viewtopic.php?f ... afa#p56425

Introduciendo la opción de Password
El Password es Automatico o Manual
se compime en Carpeta -> Compress_Zip y Descomprime en --> UnCompress_Zip
No crea Ruta de Carpetas ni Subdirectorios es un Zip Directo por extensiones.
Seguiremos investigando
Espero que os guste
Saludos
Mustafa
PD: Compilar con los Bats incluidos en el Sample de 32bits o 64 bits no con el IDE

*---------------------------------------------------- Google ---------------------------------------------------*
Hello friends
I present a new experiment based on the Sample
http://www.hmgforum.com/viewtopic.php?f ... afa#p56425

Introducing the Password option
The Password is Automatic or Manual
is compiled in Folder -> Compress_Zip and Unzip in -> UnCompress_Zip
Do not create Folder Path or Subdirectories is a Direct Zip by extensions.
We will continue investigating
I hope you like it
regards
Mustafa
PD: Compile with the Bats included in the 32bit or 64bit Sample not with the IDE
Attachments
HB_Zip_ProgresBar_New.zip
(1.15 MiB) Downloaded 147 times
Pantallazo.jpg
Pantallazo.jpg (33.13 KiB) Viewed 2560 times

User avatar
serge_girard
Posts: 2504
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 799 times
Been thanked: 153 times
Contact:

Post by serge_girard »

Thanks Mustafa!

Serge

User avatar
mustafa
Posts: 971
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 189 times
Contact:

Post by mustafa »

Hola amigos:
Aquí os dejo un muestra mejorada de la anterior con más opciones
Ver --> (Tutorial Docs)

Para compilar utilizar los Bats que hay preparados para 32 y 64 bits de la forman
que se presentan, solo modificar si vuestra ubicación de HMG es diferente de c:\hmg.3.4.4
con el IDE está dando Error.

Espero que os pueda servir
Saludos
Mustafa
*----------------------------------- Google --------------------------------------*

Hello friends:
Here I leave an improved sample of the previous one with more options
View -> (Tutorial Docs)

To compile use the Bats that are prepared for 32 and 64 bits of the form
that are presented, only modify if your HMG location is different from c:\hmg.3.4.4
with the IDE is giving Error.

I hope I can serve you
Regards
Mustafa
Attachments
HB_ZIP_Demo.zip
(2.88 MiB) Downloaded 130 times
Screenshot.jpg
Screenshot.jpg (104.23 KiB) Viewed 2016 times

JALMAG
Posts: 209
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF
Location: España - Spain
Has thanked: 2 times
Been thanked: 2 times

Post by JALMAG »

Gracias Mustafá, magnífico ejemplo.

User avatar
luisvasquezcl
Posts: 1156
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 15 times
Been thanked: 16 times
Contact:

Post by luisvasquezcl »

muchas gracias mustafa, excelente aporte.
saludos cordiales,

User avatar
Anand
Posts: 494
Joined: Tue May 24, 2016 4:36 pm
DBs Used: DBF
Has thanked: 190 times
Been thanked: 79 times

Post by Anand »

Thank you Sir.

Regards,

Anand
Image

martingz
Posts: 294
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico
Has thanked: 22 times
Been thanked: 18 times

Post by martingz »

Mustafa me tome la libertad de darle una revisadita a tu gran proyecto, ahora ya se puede compilar en el ide, espero no te molestes


saludos
p.d. no se toco nada de los programa fuente solo fueron los archivos hbc y hbp
Attachments
HB_ZIP_Demo.zip
(2.96 MiB) Downloaded 128 times

chrisjx2002
Posts: 173
Joined: Wed Jan 06, 2010 5:39 pm
Been thanked: 2 times

Post by chrisjx2002 »

Thanks for the sharing. To compile don't forget to add in DemoZip.hbp the line hbziparc.hbc

User avatar
mustafa
Posts: 971
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 189 times
Contact:

Post by mustafa »

Para "martingz"
Gracias por tu interes , "molestia ?"
al contrario , nada más me hace feliz que os pueda interesar esta Demo.
Probaré tu modificación , aunqueyo nunca utilizo el IDE
Di con la solución por casusalidad, haciendo experimentos
para poder incorporar Password en los Ficheros.Zip
En la Demo hay muchos trozos de codigo aportados por otros colegas
perdonar si me he dejado alguno de mencionar.
+------------------------------------------------------------------------------*
Con la solucion aportada por "martingz"
Dejo las dos Formas de Compilat ---> IDE y BAT

*---------------------------- Google -----------------------------------------*
For "martingz"
Thanks for your interest, "annoyance?"
On the contrary, nothing else makes me happy that you might be interested in this Demo.
I will test your modification, although I never use the IDE
I came up with the solution by causality, doing experiments
to be able to incorporate Password in the Files.Zip
In the Demo there are many pieces of code contributed by other colleagues
forgive if I have left any to mention.
*-------------------------------------------------*
With the solution provided by "martingz"
I leave the two Forms of Compilat ---> IDE and BAT

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Para "chrisjx2002"
Como indica el colega "chrisjx2002" compilar
con los Bats preparados y no omitir en DemoZip.hbp
la línea hbziparc.hbc
*----------------------------- Google ----------------------------------------*
For "chrisjx2002"
As the colleague says "chrisjx2002" compile
with the Bats prepared and not omit in DemoZip.hbp
the hbziparc.hbc line

Regards
Mustafa :idea: :D :lol:
Attachments
Demo_Zip_Compiler.zip
(1.57 KiB) Downloaded 117 times

User avatar
mustafa
Posts: 971
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 189 times
Contact:

Post by mustafa »

Hello friends
We are still experimenting with the ZIP theme
Here you have a new delivery based on the sample
previous with some modifications in the Source Code
and an expansion in the Options Menu
Watch the sample, if it may interest you? :idea:
Regards
Mustafa
Attachments
Demo.gif
Demo.gif (666.16 KiB) Viewed 1446 times
HB_ZIP_Demo_v01_New.zip
(3.48 MiB) Downloaded 90 times

Post Reply