View Single Post
  #1 (permalink)  
Old 06-10-2009, 2:51 PM
stricknyn stricknyn is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Apr 2006
Posts: 11
Reputation: 50
stricknyn is on a distinguished programming path ahead
Default Where is the zip file being stored?

Hi all, I'm sdudying for the Microsoft Exam 70-536 and I'm working through some examples in the self paced book.

In looking at the following code example and trying to figure out the GZipStream class I do not see where the data.zip file is being saved. Is there some default path this goes?


Code:
Dim gzOut As GZipStream = New GZipStream(File.Create("data.zip"), CompressionMode.Compress)
        Dim sw As StreamWriter = New StreamWriter(gzOut)

        For i As Integer = 1 To 999
            sw.Write("Hello World!")
        Next

        sw.Close()
        gzOut.Close()
Thanks,

Strick
Reply With Quote