Using 7za.dll
Using 7za.dll
(OP)
Hi,
I´m trying to use the 7za.dll (7ZIP at www.7-zip.org) on my VB60 project, but i don´t know how to do this job.
Any help would be appreciated.
Thanks,
Jackson Carnio ( From Brazil )
I´m trying to use the 7za.dll (7ZIP at www.7-zip.org) on my VB60 project, but i don´t know how to do this job.
Any help would be appreciated.
Thanks,
Jackson Carnio ( From Brazil )
RE: Using 7za.dll
I'm going to assume that you don't know where to begin, so let me give you the beginning.
Download your dll.
Set a reference to it in VB.
You can use the Object Browser (View menu) to look at the classes, methods and properties the dll supports.
Write code using those methods and properties.
HTH
Bob
RE: Using 7za.dll
I already try this method, but this causes an error.
This is a COM mode DLL and must be refered inside the VB code, and what about the classes, methods and properties, I´m looking for someone that have this documentation or
an sample code to help me in this job.
Thanx anyway,
Jackson
RE: Using 7za.dll
I don't understand what you mean when you say you "tried this method?" What method did you try exactly? As for error, what error did you get? (Perhaps "Compile error: User-defined type not defined"?)
<This is a COM mode DLL and must be refered inside the VB code,
Well, yes, that's true. However, you point that out as if it contradicts the information I've given you. It doesn't.
<and what about the classes, methods and properties, I´m looking for someone that have this documentation or
an sample code to help me in this job.
You might want to read FAQ222-2244 for more information about getting good answers. If you show us what you've tried, we can help you fix it.
HTH
Bob
RE: Using 7za.dll
Chip H.
____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
RE: Using 7za.dll
I´m very grateful for your reply.
I don´t want to bore you and I´m sorry for my bad English.
I´ll try to explain better:
I need to create a files compression and decompression routines in my VB application.
I chose the 7ZIP algorithm because it is a free code conducted by the GNU rules and I could distribute my application without problems of user licences, etc.
When I said that I tried this method I was mentioning
your directions (Set a reference to it in VB...), and
this action causes an error "Can´t add a reference to the specified file"
You suggestions are wellcome if you have another way to include compression and decompression resources in a VB application whithout using shell command.
Thank you,
Jackson.
RE: Using 7za.dll
RE: Using 7za.dll
ht
-George
Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
RE: Using 7za.dll
The 7za.dll is avaiable for download at
ht
There is a FAQ about it in
http://www.7-zip.org/faq.html
FAQ title:
How to add support for 7z archives to my application?
Thank you for your reply
Jackson
RE: Using 7za.dll
http://www.7-zip.org/
There is also a support forum at:
htt
I would suggest you start there, as they'll be more familiar with SevenZip.
Chip H.
____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
RE: Using 7za.dll
"... these DLLs don't use standard COM interfaces for objects creating."
RE: Using 7za.dll
Ok, it´s my fault!, Sorry...
Is it possible to use a non "standard COM interfaces"
in a VB project ?
How can I do this job?
Thanks again
RE: Using 7za.dll
RE: Using 7za.dll
Thank you very much anyway!
I´m feel better if I don't spend your time anymore.
[]s
RE: Using 7za.dll
HTH
Bob