×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Using 7za.dll
2

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 )

RE: Using 7za.dll

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

RE: Using 7za.dll

(OP)
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

RE: Using 7za.dll

<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

RE: Using 7za.dll

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

RE: Using 7za.dll

(OP)
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.




RE: Using 7za.dll

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

RE: Using 7za.dll

The readme files make it pretty clear:

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

RE: Using 7za.dll

(OP)
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

RE: Using 7za.dll

Not easily, no

RE: Using 7za.dll

(OP)
Ok strongm,
Thank you very much anyway!

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

[]s

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close