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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using 7za.dll 2

Status
Not open for further replies.

jcarnio

Technical User
Oct 29, 2002
11
BR
Hi,

I´m trying to use the 7za.dll (7ZIP at on my VB60 project, but i don´t know how to do this job.

Any help would be appreciated.

Thanks,

Jackson Carnio ( From Brazil )
 
Hello Jackson,

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
 
Thanx Bob,

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
 
<I already try this method, but this causes an error.

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
 
Sounds like you need to contact the vendor to see if they have some sample code they can send you.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Hi! Bob and Chip

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.




 
Where, precisely, is this &za.dll file available from the website you mention. I can't find any such COM component there
 
SevenZip has their homepage at:

There is also a support forum at:

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
 
The readme files make it pretty clear:

"... these DLLs don't use standard COM interfaces for objects creating."

 
strongm,

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
 
Ok strongm,
Thank you very much anyway!

I´m feel better if I don't spend your time anymore.

[]s

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top