Click here to Skip to main content
16,004,890 members
Home / Discussions / C#
   

C#

 
GeneralVS.Net add-in Pin
Anonymous15-Nov-04 10:39
Anonymous15-Nov-04 10:39 
GeneralOnline Database Pin
The underdog15-Nov-04 9:54
The underdog15-Nov-04 9:54 
GeneralRe: Online Database Pin
Utku KAYA15-Nov-04 11:22
Utku KAYA15-Nov-04 11:22 
GeneralRe: Online Database Pin
Utku KAYA15-Nov-04 11:33
Utku KAYA15-Nov-04 11:33 
GeneralRe: .Net Service & Notifyicon disappearing after log-off/log-on Pin
Heath Stewart15-Nov-04 9:16
protectorHeath Stewart15-Nov-04 9:16 
Generalzip compression Pin
ppp00115-Nov-04 8:22
ppp00115-Nov-04 8:22 
GeneralRe: zip compression Pin
Christian Graus15-Nov-04 9:37
protectorChristian Graus15-Nov-04 9:37 
GeneralRe: zip compression Pin
Anonymous15-Nov-04 12:32
Anonymous15-Nov-04 12:32 
ZIP compression doesn't support streaming. Since the compression algorithm uses an index based on the contents of the ENTIRE stream it's compressing. It sounds like you're already using the best method for doing ZIP-type compression on a stream. I mean, break your stream into fragments, run the compression acrossed a single fragment, send the ZIP'd version of the fragment down the wire, then continue with this procedure on the next fragment. The receiving side will have to un-ZIP each fragment and recombine each piece into the original stream.

But, since a ZIP contains the bit stream substitution table used to compress the fragment, you'll be wasting bandwidth on sending this table for each fragment. This overhead will ultimately reduce the benefit your getting with compression.

Your best bet is to ZIP the entire file all at once, then send it using normal file transfer means. Using the fragmentation method you described, you're actually getting a smaller return for your coding investment.

GeneralRe: zip compression Pin
leppie15-Nov-04 22:14
leppie15-Nov-04 22:14 
Generalputting icons in subitems of listview Pin
BlackDice15-Nov-04 7:59
BlackDice15-Nov-04 7:59 
GeneralRe: putting icons in subitems of listview Pin
Heath Stewart15-Nov-04 8:06
protectorHeath Stewart15-Nov-04 8:06 
GeneralGridItem in PropertyGrid Pin
Irie_Pansen15-Nov-04 6:24
Irie_Pansen15-Nov-04 6:24 
GeneralRe: GridItem in PropertyGrid Pin
Heath Stewart15-Nov-04 6:37
protectorHeath Stewart15-Nov-04 6:37 
GeneralAPI Call to GetProfileString Does Not Fill Buffer Pin
stoked15-Nov-04 6:13
stoked15-Nov-04 6:13 
GeneralRe: API Call to GetProfileString Does Not Fill Buffer Pin
Heath Stewart15-Nov-04 6:31
protectorHeath Stewart15-Nov-04 6:31 
GeneralRe: API Call to GetProfileString Does Not Fill Buffer Pin
stoked15-Nov-04 7:51
stoked15-Nov-04 7:51 
GeneralRe: API Call to GetProfileString Does Not Fill Buffer Pin
Heath Stewart15-Nov-04 8:02
protectorHeath Stewart15-Nov-04 8:02 
GeneralRe: API Call to GetProfileString Does Not Fill Buffer Pin
stoked15-Nov-04 8:24
stoked15-Nov-04 8:24 
GeneralRe: API Call to GetProfileString Does Not Fill Buffer Pin
Heath Stewart15-Nov-04 9:09
protectorHeath Stewart15-Nov-04 9:09 
GeneralRe: API Call to GetProfileString Does Not Fill Buffer Pin
stoked15-Nov-04 10:51
stoked15-Nov-04 10:51 
GeneralRe: API Call to GetProfileString Does Not Fill Buffer Pin
stoked15-Nov-04 8:03
stoked15-Nov-04 8:03 
General.Net Service & Notifyicon disappearing after log-off/log-on Pin
Steef (Stephan Deckers)15-Nov-04 6:07
Steef (Stephan Deckers)15-Nov-04 6:07 
GeneralRe: .Net Service & Notifyicon disappearing after log-off/log-on Pin
Heath Stewart15-Nov-04 6:45
protectorHeath Stewart15-Nov-04 6:45 
GeneralRe: .Net Service & Notifyicon disappearing after log-off/log-on Pin
Steef (Stephan Deckers)15-Nov-04 8:48
Steef (Stephan Deckers)15-Nov-04 8:48 
GeneralDatetime : Minutes between two date values Pin
Anonymous15-Nov-04 2:42
Anonymous15-Nov-04 2:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.