VS 2010 File Compression In .net?
Feb 9, 2012
I'm wanting to make a program to rip dvd's but more importantly to store them so the user can watch them when they want. To keep the cpu's memory down I figured I can compress the dvds when the person just has them sitting there and then decompress them when the user wants to play them. I've kinda looked into gzipstream, but would that really work? Should I take a different route?
View 6 Replies
ADVERTISEMENT
Oct 17, 2011
I'm currently working on a utility software, file compression, with VB.Net. And using an open source library to compress and decompress files - DotNetZip - and already running.
My friend told to make it unique and not traditional, that I make the output compressed files cannot be opened with other compression software. Now my question is... is it possible that way? Using an open source library which the output format is ".zip"?
I first thought that changing the file extension of the compressed file to unknown format so it can't be opened when you try to decompress it, unfortunately, using the "Open With..." function of windows it could still be decompressed.
Is it really possible? OR what other features can I add that WinZIP doesnt have yet? I compared my work to WinZip since the same output is ".zip".
View 1 Replies
Oct 16, 2010
I'm willing to create a program that will determine the size of a file imported in OpenFileDialog After a RAR Compression. I'm not sure what's the ratio of the rar compression,
View 1 Replies
Jan 25, 2011
How can I make a program that stores multiple files in one big file (for transporting). There is no need for compression(takes too long).
also, would it be able to open them in this same program (like a windows explorer folder)?
View 7 Replies
Jun 28, 2011
How do I create 7-Zip archives with .NET?
I'm looking for ways to do compression and decompression in 7z format via code in VB.NET and C#. Is there any library or .Net code for this purpose?
I know there are GZipStream and DeflateStream in .Net but I want 7z format for better compression ratio.
View 3 Replies
Feb 9, 2010
i wanted to ask is there any means i can compress a video file(.avi) to a small size than original.Which API should i use(except the DirectX)..?Is DirectX advisable?
View 1 Replies
Aug 14, 2009
I'm trying to compress a file in .NET, but having some trouble. The zip file is created, but it's only 1KB and no files are within the zip file. Basically, it's not working for some reason and I'm not sure why.
Public Sub CompressFile(ByVal fileName As String)
Dim strOutput As Stream = File.Create("zippedFile.zip")
Try
Using (strOutput)
Dim strInput As Stream = File.OpenRead(fileName)
Using (strInput)
[Code] .....
View 2 Replies
Mar 12, 2011
I would like help to compress a file with zlib. I have have searched google for ages and found losts of examples but i can't get any to work in VB 2008 Express. I am also not sure which version of the dll to use as there seems to be a few for VB.Can someone post some code that will work in VB 2008 so i can see how to do it and also a link to the dll that you used.
View 5 Replies
Jan 21, 2010
which algorithm used for voice compression mailing and decompression
View 2 Replies
May 5, 2009
We need to conditionally disable GZIP compression if user's browser is IE6 (it hangs browser for 5min) in few pages of larger site. Server is IIS7 and has compression for static content turned on - want that compression left working if user agent is not Mozilla/4.0. ASPX code sample anyone? Alternatively, code to conditionally redirect to the same page on another site (could create another virtual site with compression disabled) but need to pass all parameters (GET/POST).
View 1 Replies
Aug 29, 2011
I want to check Disk compressed(compress drive to save disk space) property. I have following code to check it. But it always return false. whether it is compress or not.
Dim drive As String = "C"
Dim parameter As String = "win32_logicaldisk.deviceid=""" + drive + ":"""
Dim diskSize As New ManagementObject(parameter)
[Code]....
View 21 Replies
Jan 25, 2011
Private Function Compress(ByVal strInput As String) As Byte()
Try
Dim bytData() As Byte = System.Text.Encoding.UTF8.GetBytes(strInput)
[Code]....
View 1 Replies
Feb 13, 2008
How do i make a program that can compress files, just like programs like winrar do? Every time i try via something as simple as text editor changing something, then changing it back, then it wont work anymore. Any suggestions on how i can make one of these kinds of compression programs?
View 9 Replies
Feb 3, 2012
I have a WCF Windows service that provides data to 250+ PDAs via compressed datasets and was looking to redevelop both the service and the mobile application to use Entity Framework 4.x models. In order to keep performance acceptable when sending/receiving data on the PDA I need to keep the data size as small as possible and was wondering if its possible to compress a IEnumerable from the WCF windows service? From previous experience with the datasets I got a 80%+/- compression rate and even decompressing the data on the PDA achieved an overal 50% performance importment so retaining similar levels of performance is critical. Could I use a binary serializer and then compress the stream?
View 1 Replies
Jan 10, 2012
some link or could that could explain the way it could be done.
View 1 Replies
Sep 19, 2009
can we unzip a zipped folder using microsoft APIs or namespaces perhaps System.IO.Compression. However, it seems to be cumbersome to use them. With a thrid party dll file it works perfectly fine, however i dont want to use it as we dont know what is actually happening inside. Can we have a piece of code which unzips a zipped folder.
View 3 Replies
Jan 8, 2011
I do one project in visual basic 2010.In visual basic 6 project can be make Package and deployment (setup file or install file) file using Package and deployment wizard.But in visual basic 2010 express edition does not have Package and deployment wizard.how to make Package and deployment (setup file or install file) file in visual basic 2010 project?
View 4 Replies
Nov 28, 2010
trying to input a text file that's tab delimited that looks something like this.
2.2 5.6
3.7 9
1.2 9.1
[code].....
View 1 Replies
May 4, 2012
1 List all of the data from Teams.txt in a Listbox. Include suitable headings.
2 List all of the data from Results.txt in the Listbox (use the same Listbox as in 1 above).Include suitable headings. Note that you cannot assume that the file contains onlyresults for the first 3 weeks of the season. Your program should be able to process a results file with more or fewer results.
3 List all of the data from Results.txt in the Listbox. However, in this case the actual team names should be output (your program will need to get this data from Teams.txt. The data should be formatted so that it is aligned correctly. Include suitable headings.
The output might look as follows:
Home Team Away Team Home Team Goals Away Team Goals
Bunbury Braves Nedlands Nodders 5 2
View 1 Replies
Jul 19, 2011
with VB.net 2010, i would like to export a text file (with ; separator and variable length lines) to excel 2010
View 3 Replies
Nov 27, 2010
When i try to open the file in Visual Basics 2008 it says: "The selected file is a solution file, but was created by a newer version of this application and cannot be opened"
View 3 Replies
May 4, 2010
I'm working on a school project right now and I have everything fine except this one part of the project: "The audit and errorevent logs should be archived if they are larger than 5K and up you need to keep up to 3 copies of the files." I know how to read and write text files just fine, so I don't need help with that. What I don't know is how to archive a file based on file size, or how to keep up to 3 copies of the files?
View 2 Replies
Jun 18, 2011
im making a simple program that will copy a single file. im trying to get the name of the file that i selected in the open file dialog but i get the location and file name (C:Users****Documents est est.txt) im trying to just get (test.txt)
View 2 Replies
Oct 4, 2010
I'm trying to use a .pdf file I've added to my project but can't figure out how to get it to show using the webbrowser control. Here is what I'm using to call it:
View 9 Replies
Oct 9, 2010
Is there a way in VB to create a video with an mp3 file and a picture file?
Input picture file Input mp3 file
Output mp4 video (mp3 file, picture as overlay)
View 2 Replies
Nov 5, 2010
I have a problem and hope someone have idea to rsolve it. I have a file and inside the file the format is like that :
123.567 456.789 12.345 223 223 221 223
123.555 456.788 12.344 223 223 221 222
123.456 345.678 456.234 445 445 445 445
total line is 3456789903. I want use vb console application to read the line and every 130000 line create a new output file.
View 3 Replies
Oct 25, 2010
I decided to to convert my excel macro in a exe file using visual studio 2010. In excel macro method find is present like this:
[Code]...
View 9 Replies
Mar 13, 2012
im having problems copying a file to another folder and replacing the original im trying to copy a dll to another folder but it says you can do this because the file already exists in this folder how can i do it so it will replace the original
View 9 Replies
Jun 23, 2011
So, I've got three files that are auto-generated XML reponses that I need to import into my database but I'm having some serious issues with thinking this one through and then coding it (I haven't coded in quite some time). The database is an Access accdb file with table tbl_ext and fields e_FN, e_LN, e_EXT, E_LOC.I need to do the following during each routine.1) Erase all current records in the table.2) Scan each of the three files (format of the files below), pulling out the First Name (e_FN), Last Name (e_LN), Extension (e_EXT), and Location (e_LOC), for each "record" in the response file.What would the most efficient way to do this, be? As I said, I need coding help in the extreme here.An example of the file would be:
<response method="switchvox.extensions.search">
<result>
<extensions page_number="1" total_pages="1" items_per_page="500" total_items="3">
[code].....
View 8 Replies
Jan 5, 2011
I am using VB for our entire company. Recently, we have had a need to dial into a VT220 to retrieve information from our customers. We are using ZOC terminal and it has a .dll for Visual C that lets us automate ZOC without needing a human interfacing with it.
Does anyone know anyway for a VB application to run a VC file? I highly doubt it and no one here has ever tried something like this, nor have I ever heard of anyone try this before. Just trying to see if this is even possible and if so - how...
Limitation: -We cannot restructure our company using VC (way too large)
Reason: -We import data on a daily basis but do not want to have to have someone remember everyday to run ZOC. In addition, our imports are done before anyone is in house.
View 2 Replies