Packer 2004

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
cabaptista
User
User
Posts: 86
Joined: Sun Nov 30, 2003 11:42 pm
Location: Lisboa, Portugal

Packer 2004

Post by cabaptista »

Packer 2004 is a program to manage ZIP files.

With Packer 2004 you can create, open, close, copy, move, delete and rename a ZIP packer and see it's properties.
Also you can add a directory, add files and much more.

Thanks to Spangly/Notandor and it´s "PBZIP".

A note: this program only compiles with purebasic version 3.90.

Download it in here:
http://sapp.telepac.pt/cesar-baptista/PureBasic/Packer 2004.zip

As always, source code is included.
Try it and write about it.

Thanks in advance.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Good show :D

Just a bug, resizing with max button, drops the listview lose it's size...
User avatar
cabaptista
User
User
Posts: 86
Joined: Sun Nov 30, 2003 11:42 pm
Location: Lisboa, Portugal

Post by cabaptista »

Num3, you are right. It's a bug.
But I don't know how to solve it.

The bug has to do with opening other windows over the main window and then try to maximize or minimize the main window.

I have the next code in #PB_Event_SizeWindow:

Case #PB_EventSizeWindow
ResizeGadget(#MAIN_LISTICON, 0, 24, WindowWidth(), WindowHeight() -60)

but still don't work.
Can anybody help me ?
User avatar
cabaptista
User
User
Posts: 86
Joined: Sun Nov 30, 2003 11:42 pm
Location: Lisboa, Portugal

Post by cabaptista »

It's a bug in WindowWidth() and WindowHeight() i think.

When i close one window above the main window,

CloseWindow(#OTHER_WINDOW)

and activate the main window,

ActivateWindow()

Somehow the WindowWidth() and WindowHeight() go crazy and don't give me the right values.
Fred
Administrator
Administrator
Posts: 18237
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Just use UseWindow() before WindowWidth()/Height() and it should work.
User avatar
cabaptista
User
User
Posts: 86
Joined: Sun Nov 30, 2003 11:42 pm
Location: Lisboa, Portugal

Post by cabaptista »

Thanks Fred, it works.
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

XP SP2 doesn't want to open the zip archive of your program.
saying me that there could be a virus mail inside... :?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

It because the stored path inside the zip is:

f:\cabaptista\programming\ .. \ ..

eheh... didn't even know zip's could store drive letters in the path !
Post Reply