|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Compressing textfiles, but still read themI am a bit new to VB, and I have set up a program which loads a large
text file. The text file (.txt) has a file size of around 6 megabytes. This is the figure I would like to rreduce. I have limited space on a server, and this is a considerable chunk. anyhow, is there a file extension which would reduce the .txt file size down, but that could still be read by a stream reader. Thanks, Jarry Immediate workaround:
Where is this file stored? If it is on a Windows NTFS drive, compress the directory it's in using the directory property pages. Text files are highly compressable. Doing it this way hides the compression from your application. Better Solution: Add a large data drive to the server and move the file shares to it. This has the benefit of protecting your data files in the case you have to reformat the system disk. Mike Ober. Show quoteHide quote "Jarry" <HarryandJa***@gmail.com> wrote in message news:1161270896.526068.312190@b28g2000cwb.googlegroups.com... >I am a bit new to VB, and I have set up a program which loads a large > text file. The text file (.txt) has a file size of around 6 megabytes. > This is the figure I would like to rreduce. I have limited space on a > server, and this is a considerable chunk. anyhow, is there a file > extension which would reduce the .txt file size down, but that could > still be read by a stream reader. Thanks, Jarry > "Jarry" <HarryandJa***@gmail.com> wrote in news:1161270896.526068.312190 @b28g2000cwb.googlegroups.com:> I am a bit new to VB, and I have set up a program which loads a large Zip your files - when you need to read the files, unzip the files to a > text file. The text file (.txt) has a file size of around 6 megabytes. > This is the figure I would like to rreduce. I have limited space on a > server, and this is a considerable chunk. anyhow, is there a file > extension which would reduce the .txt file size down, but that could > still be read by a stream reader. Thanks, Jarry memorystream rather than an file/disk stream : ) http://www.icsharpcode.net/OpenSource/SharpZipLib
main menu disappearred
Question about walking the file system Show ToolTip on every Control continuously Searching desparately for createmailslot example in VB.NET (MSDN universal Subscriber) Starting process using shell execute returns nothing Transparent listview Checked List Box check in program right click on a label windows service + vb.net + windows 2003 |
|||||||||||||||||||||||