473,387 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Cab files compress more?

I have a assambly dll that I want to use it over internet on a html
There is any size reason to use a cab file, instead simply the dll?

If yes, how can I pack in a cab file my dll?

Thanks,
Crirus
Nov 20 '05 #1
5 977
Hi Crirus,

Nobody's answered yet! I only had half an answer so I waited.

If you zip your exe and dll files, you'll find 50-80% reduction depending
on what's in them (embedded graphics will spoil the compression ratio.) I
would expect cab files to realise similar savings.

That's the bit I had, the <how-to> is another thing altogether. I did a
Google but sorting out the good stuff was too much.

Do you specifically want cab compression or would zipping be an option?

Regards,
Fergus
Nov 20 '05 #2
I need to run that dll, the only file I have, from a client browser, using
<OBJECT> so the cab is the only way, or leaving the dll as it is...
Zipping the dll was a 100 k reduction from 820 k to 716 k.
Not much!
"Fergus Cooney" <fi****@post.com> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
Hi Crirus,

Nobody's answered yet! I only had half an answer so I waited.

If you zip your exe and dll files, you'll find 50-80% reduction depending on what's in them (embedded graphics will spoil the compression ratio.) I
would expect cab files to realise similar savings.

That's the bit I had, the <how-to> is another thing altogether. I did a Google but sorting out the good stuff was too much.

Do you specifically want cab compression or would zipping be an option?
Regards,
Fergus

Nov 20 '05 #3
Hi Crirus,

I was zipping debug dlls!! No wonder they squashed up so much. Yours is a
release version so, yes - Not much! :-(

I'm working on your other query but as it's time for bed soon, I can't
promise anything just yet.

Regards,
Fergus
Nov 20 '05 #4
Hi Fergus,
About hte other issue...have some good experience on threading model for
servers?
I'm wondering if is ok the MS's sample to handle asynchron connections, by
letting the sockets to create thereads for every request.
One told me that the better way is to have some thread alive and sleeping
until have a request in queue and limit the queue entrys to a small number.

Thanks,
Crirus
"Fergus Cooney" <fi****@post.com> wrote in message
news:eG**************@TK2MSFTNGP10.phx.gbl...
Hi Crirus,

I was zipping debug dlls!! No wonder they squashed up so much. Yours is a release version so, yes - Not much! :-(

I'm working on your other query but as it's time for bed soon, I can't
promise anything just yet.

Regards,
Fergus

Nov 20 '05 #5
Hi Crirus,

I'm afraid that's outside my area. The best thing would be to post it back
to the group as a new topic.

Regards,
Fergus
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Winfree | last post by:
Hi all, i have made a page with several photos of a party. There is a index in the page, and under each thumbnail there is a checkbox. With them people can select the photos that he's going to...
7
by: ScottO | last post by:
Is anyone aware of native dotnet code to uncompress 64-bit Zip files? Everything I have found so far can only uncompress files inside a zip file up to 9Gig. Any thoughts? Thanks in advanced,...
2
by: ad | last post by:
I want to compress two fies in server (c:\data\mine.mdf, mine_log.ldf) into a files and copy the a specific folder in client. How can I do that?
13
by: Necqui Teja | last post by:
Are there any utils/tools to zip files at runtime in C#? Thanks Necqui
3
by: dust | last post by:
I need to improve the download speed for an asp.net 2.0 application. So I'd like to compress the dimension of the .aspx pages. These pages don't have any images or heavy element. The most long...
2
by: dotnetnoob | last post by:
i'm making a function to compress a directory and all the subfolders/files under it for backup purpose. i can make a copy of directory without any problem but how do i compress the copyed...
1
by: =?Utf-8?B?U2NobWVuZ3k2OQ==?= | last post by:
Hopefully someone can help with this query. I have searched the internet and no other occurence of this problem seems to appear so I must be unique in some way... OS : XP Media Center I...
4
by: John | last post by:
Hi Is there a way in vb.net to zip files? Thanks Regards
3
by: shapper | last post by:
Hello, Are there tools to compress CSS files? My CSS Files are usually big because of comments and the way I write them so that it is easy to read. Thanks, Miguel
3
by: msankardas | last post by:
Hi, As a part of my project, i need to compress folders and files into a single zip file as follows. for eg: I want to compress C:\test\ c:\compression\ C:\documents\test.txt
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.