Compress Data On Asp.net And Uncompress In Javascript?
Feb 27, 2010
this is my first Question :) I need a lib or way to compress a data in asp.net (vb) with the algorit deflate but the result inflate in javascript. I'm use a lib in javascript: deflate.js [URL] First i'm deflate and convert to base64 the result but the result is no compatible with the javascript lib. i'm use the Chilkat .NET DLL [URL] The String result with this lib is compatible with the javascript libray but is not free. need a way to compress data in asp.net and uncompress in javascript. This is for my web aplication need to download many many data.
View 2 Replies
ADVERTISEMENT
Feb 16, 2012
I am trying to uncompress a tar.gz file in .NET with Framework 3.5. I have used the following code from Microsoft and this uncompressed the .gz but leaves me with a .tar file... i.e. test.tar.gz becomes test.tar I tried running the same code but inputing .tar as parameter but that did not work either. how I can uncompress the .tar file.
[Code]...
View 4 Replies
Feb 26, 2010
Can you compress data being sent from client to server and etc? If so how would i do this?
View 2 Replies
May 28, 2010
I'm creating a search form using an asp:button control with the urlpostback set to a results page. The problem is, the asp:button uses Visual Basic and the search results from Google require Javascript.
Is there a way to take the data from an asp: textbox in VB and then send it to another page that uses Javascript and use the data?
View 3 Replies
May 9, 2012
I'm using Visual Studio 2010 and my software will be a Windows Forms Application.
I know it's possible to retrieve URL source codes, slice and dice them either through VB.NET or RegEx but that only applies to text/code that are in plain text like HTML code. But how do you extract code from JavaScript that in the downloaded source code doesn't display the data inside the variables, but instead the actual variables?
Below I have an example code of JavaScript variables inside a downloaded .HTML source code that, when the webpage is loaded, displays the information/data contained inside these variables in the web browser. But the data itself isn't "downloaded" or stored in the source code.
So my question is: How do you extract/retrieve the data from within those JavaScript variables?
<td>
<div class="showUserText">
<div class="outerRatingBody" style="display:none;" >
[Code]....
Is it possible through VB.NET to get what ever is inside those variables?
View 3 Replies
Dec 5, 2011
So here is the situation. I am originally a PHP developer, here are my steps to render data:
PHP gather data from DataBase
PHP write data to JavaScript
JavaScript render using JQuery to HTML
HTML display to user
User Postback to PHP
PHP write back to Database with new data
Now I am using VB.NET and I need to use their paradigm with controls and what not. However I would like to render using JQuery and JavaScript. How do I get data into JavaScript when loaded in VB and get it back once user post?
[Code]...
View 2 Replies
Dec 7, 2009
How can i compress an image using vb.net?
View 2 Replies
Jul 21, 2009
How to compress an image? because i am capturing a screenshot. but my problem is sometimes the image size is too large. how can I compress the image?
View 4 Replies
Feb 15, 2012
When i'm working on my project,many times it show the message something like this "...out of memory" so can any one help me what should i do?
Should I compress my project and make it smaller in size?
View 8 Replies
May 23, 2010
How do I compress/decompress a string in VB.NET ?I am trying to send long string through the Network and need them to be as small as possible before sending.
View 3 Replies
Sep 15, 2011
I have tried to compress a directory in one file. Any idea how? I have been able to compress individual files, but no clue how to do it in one file
View 1 Replies
Dec 29, 2009
I need a simple code to compress a folder to *.zip file silently without modules or adding project .... etc.
View 18 Replies
Jun 15, 2009
I'm making a presentation program. It's a bit like PowerPoint, but less complicated and for a different purpose.
All files used in the presentation (like images, texts and sounds) should be put into a single 'file-package'. This package should later be opened by my program, which should be able to use the files from the package. (Just like PowerPoint creates a single file with all images and sounds included, which can be loaded in PowerPoint on a different computer.)
Actual compression for the file is not really needed. It could be sort of like a tar-file.
View 1 Replies
Oct 6, 2010
VB.NET 2003 or 2005 application program. i was trying to create an application program to compress some files using 7zip. when application program runs, need to browse and select the files need to be compressed and mention the name of the zip file and compress the file in that folder. i'm getting examples only in C#.
View 4 Replies
Feb 26, 2009
How would I compress a folder from a text box becasue what I have at the moment is just returning a value of true
Dim compres As IO.Compression.CompressionMode
TextBox1.Text = IO.Compression.CompressionMode.Compress = IO.Compression.CompressionMode.Compress = 1
And I don't understand how to use the compression.
View 7 Replies
Nov 21, 2010
I want to have a backup feature which takes about 7 txt files and compresses/packs them into one file. Then if required at a later stage I can unpack all 7 files from the packed file. I do not need any compression as such just to make one file from 7, then 7 from from that one, if you understand what I mean. I have read there are some native libraries in .NET Framework 2.0 called DeflateStream and GZipStream. Can these be used?
View 3 Replies
Jun 10, 2010
what is the fastest way to serialize and compress a class?
what are the consideration to be made when a long list of objects(classes) have to be serialized and compressed one after the other?
View 4 Replies
Oct 19, 2010
So right now it all looks pretty with ... <button type="submit" runat="server" name="subscribe" id="Button1" class="link-button" onserverclick="saveListing"> Until it is time to validate the data before calling saveListing function codebehind (in VB .Net). How can true/false be return so that when true saveListing will be called, otherwise not?
View 1 Replies
Feb 14, 2011
how do you compress audio file wmv with net libraries to wma MP3?
View 4 Replies
Aug 5, 2009
How can i encrypt or decrypt only a part of a file? I try, and i keep getting an error message that says that the stream might be corrupt. By the way, it is ok to convert the text to a byte array using the system.text.encoding.ascii.getbytes() right? The reason i want to encrypt/compress only a part of a file is because i don't want to encrypt or compress the file header. That way the program can gather info about whether the file is compressed or encrypted.
View 1 Replies
Jul 31, 2011
I have a program I made in vb.net express 2008 that used java.utils.zip to compress my work files to a Zip archive that I ran occassionaly to have a backup. I worked fine, but with net framework 4 and vb.net 2010 it doesn't work. So I modified it to use sharpziplib and it works fine if all files on the filter list in the folder are closed, but if I have a file open in OpenOffice writer, my program can't access it and won't create the zip file. The file that usually stays open all the time is my TODO list, that is updated several times a day , so usually gets printed, and updated( adding or deleting entries), without closing it.
[Code]...
View 14 Replies
Feb 22, 2012
i just want to compress and send my project by email. but gmail wont let me because some file types are .exe i change it to .txt but i'm still having trouble. its a vb.net form app project.
View 5 Replies
Apr 21, 2009
How to compress a folder in vb.ne appl to ZIP format?
View 6 Replies
May 2, 2011
how to compress folder and its subfolder using winrar i found a lot of example using gzip but not through winrar a programe that compress file using winrar and display progress report as well as
View 16 Replies
Sep 11, 2008
I'd like to use WinRAR's dll file to compress files in vb.net.Is there any way this can be done? The only one I found was using the unrar.dll to uncompress files. Also, I'd like to know how to implement WinZIP's dlls to compress files as the zipfldr.dll does not achieve very high levels of compression and encryption.
View 4 Replies
Sep 29, 2010
In visual basic 2008 how would i move and compress a jpg photo to 500k, from one location to a new location?
View 2 Replies
Aug 24, 2009
I have a web application using VB ASP.NET 3.5 that along with many things allows users to upload documents into a directory on the web server. I would like to know how I can zip a folder on a webserver and download it to the client machine via a submit button.Currently, I have the files displayed as URLs so that the users can right-click and "Save Target As." But I think just having everything zipped in one file would make it alot easier for the users.
View 3 Replies
Nov 12, 2010
I wonder if you can help. I have an intranet with about 2000 photos on it. A lot of these photos were not compressed when uploaded so can be upwards of 4 or 5MB in size.
Is there a script/tool I can run to go through the directory one image by one and automatically and compress each images to say 100k or percentage of the current file size, then save and close the file with the same name?
View 1 Replies
Jan 16, 2012
How to compress a bitmap before saving it into tiff format?
share some code with me that will compress the contents of a bitmap before saving into image format.I have the following code:
Dim image As BitmapSource = decoder.Frames(i)
Dim thebitmap As Bitmap = BitmapFromSource(image)
Dim eps As Imaging.EncoderParameters = New Imaging.EncoderParameters(1)
[Code]....
I need to compress the contents of "thebitma" before saving it into jpg format.
View 4 Replies
May 11, 2009
I would like to ZIP a file with VBA. The following code from Code [URL]..
View 2 Replies