Click here to Skip to main content
15,894,460 members
Home / Discussions / C#
   

C#

 
GeneralRe: Array Pin
OriginalGriff23-Apr-11 21:17
mveOriginalGriff23-Apr-11 21:17 
GeneralRe: Array Pin
messages23-Apr-11 19:54
messages23-Apr-11 19:54 
AnswerRe: Array Pin
Abhinav S25-Apr-11 1:29
Abhinav S25-Apr-11 1:29 
AnswerRe: Array Pin
ambarishtv28-Apr-11 6:36
ambarishtv28-Apr-11 6:36 
QuestionGZipStream ends too early Pin
Paladin200022-Apr-11 10:09
Paladin200022-Apr-11 10:09 
AnswerRe: GZipStream ends too early Pin
Andrew Rissing22-Apr-11 15:55
Andrew Rissing22-Apr-11 15:55 
GeneralRe: GZipStream ends too early Pin
Paladin200025-Apr-11 3:43
Paladin200025-Apr-11 3:43 
GeneralRe: GZipStream ends too early Pin
Andrew Rissing25-Apr-11 4:05
Andrew Rissing25-Apr-11 4:05 
Now that I have access to VS today, I can test your code. After creating a GZip file with .NET, via the following code:

C#
using (GZipStream gz = new GZipStream(new FileInfo(file).Create(), CompressionMode.Compress))
{
  byte[] bytes = File.ReadAllBytes(file);

  gz.Write(bytes, 0, bytes.Length);
}

I then ran your code against it and it worked just fine. The question I have is are you accessing a file that isn't local? If so, this may be the source of your problem. Otherwise, you might want to create the zip file with .NET and see if that solves your problem.
QuestionUnable To Deserialize Pin
Anubhava Dimri22-Apr-11 0:36
Anubhava Dimri22-Apr-11 0:36 
AnswerRe: Unable To Deserialize Pin
Not Active22-Apr-11 3:50
mentorNot Active22-Apr-11 3:50 
AnswerRe: Unable To Deserialize Pin
SledgeHammer0122-Apr-11 5:11
SledgeHammer0122-Apr-11 5:11 
GeneralRe: Unable To Deserialize Pin
DaveyM6922-Apr-11 8:07
professionalDaveyM6922-Apr-11 8:07 
GeneralRe: Unable To Deserialize Pin
Anubhava Dimri22-Apr-11 18:11
Anubhava Dimri22-Apr-11 18:11 
Questiongraph adjacency matrix Pin
Alex25221-Apr-11 20:15
Alex25221-Apr-11 20:15 
AnswerRe: graph adjacency matrix Pin
Dave Kreskowiak22-Apr-11 4:13
mveDave Kreskowiak22-Apr-11 4:13 
GeneralRe: graph adjacency matrix Pin
Alex25222-Apr-11 8:59
Alex25222-Apr-11 8:59 
GeneralRe: graph adjacency matrix Pin
Pete O'Hanlon22-Apr-11 9:26
mvePete O'Hanlon22-Apr-11 9:26 
GeneralRe: graph adjacency matrix Pin
David198722-Apr-11 4:26
David198722-Apr-11 4:26 
GeneralRe: graph adjacency matrix Pin
Alex25222-Apr-11 8:57
Alex25222-Apr-11 8:57 
QuestionConflicting permissions Pin
Dell.Simmons21-Apr-11 13:52
Dell.Simmons21-Apr-11 13:52 
AnswerRe: Conflicting permissions Pin
Dave Kreskowiak22-Apr-11 4:11
mveDave Kreskowiak22-Apr-11 4:11 
GeneralRe: Conflicting permissions Pin
Dell.Simmons22-Apr-11 4:26
Dell.Simmons22-Apr-11 4:26 
AnswerRe: Conflicting permissions Pin
ambarishtv24-Apr-11 5:26
ambarishtv24-Apr-11 5:26 
Questionsplit mp3 file Pin
lidore421-Apr-11 10:28
lidore421-Apr-11 10:28 
AnswerRe: split mp3 file Pin
thatraja24-Apr-11 18:38
professionalthatraja24-Apr-11 18:38 

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.