how to Make a CAB file & Extract it?

Posted on 2002-07-29
Last Modified: 2011-08-18
how to Make a CAB file & Extract it?

without using the Makecab.exe, i want to make cab files and extract also (like in vb packaging & deployment).
Question by:ackid32
LVL 38

Accepted Solution

PaulHews earned 200 total points
ID: 7185100
Creating CAB programmatically:

Scroll down to the bottom to see cabinet maker sample project

Extracting file from CAB programmatically:

Expert Comment

ID: 7185128
Do you mean to write your own software to create the CAB? If so, this is an explanation which uses the CAB SDK (from Microsoft, of course)

If not, could you explain your reasons for not wanting Makecab.exe ? It might help understand what kind of solution to provide you with.

PS- please handle your open questions which a moderator has commented on:
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7186985
Also, when you get a chance, please maintain these open questions:

DAO 3.6 Problem Date: 02/11/2002 09:38PM PST
How to Change Menu Short-cut Key at Run-time? Date: 01/03/2002 02:46AM PST

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.


Expert Comment

ID: 11070767
Hey Paul,
That site link didn't work, it may possibly be broken. Could you possibly post the code in the forum?

LVL 38

Expert Comment

ID: 11071634
LVL 18

Expert Comment

by:David Robitaille
ID: 25449818
hi, link seem broken again. I open a new question.

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question