VS 2008 - How To Move And Compress JPG Photo
Sep 29, 2010In visual basic 2008 how would i move and compress a jpg photo to 500k, from one location to a new location?
View 2 RepliesIn visual basic 2008 how would i move and compress a jpg photo to 500k, from one location to a new location?
View 2 Replies-VB 2008-
I'm designing a very simple photo album program and need to be able to open an image using the system's default photo editor.
Recently I uninstalled and reinstalled Visual Studio 2008. Before that, Visual Studio compress images that I put in the Resources folder. In this folder I put images in PNG format for use in the project. When I was compiling the project, the executable was of a size much smaller than the sum of the bytes of the images as they were compressing in the compilation. The sum of the size of the images gives a 47MB, and the file compiled with the images was around 3.5 MB. But now the images are not compressed. For the resulting executable with the build is about 48 MB ... I'm deducing the problem is because the images were not compressed ...is it so?
View 5 Repliesi want to make a photo uploader from a custom web browser to imageshack.us. i was wondering what the code might be as i can't figure out what it will be. i would like to also sync the photo uploads with a progress bar to see how far the upload is complete. so far i know how to make a basic web browser.
View 1 RepliesI need a code (or a mini tutorial) for like a basically antivirus, but not everything, I only have these requirements:-to run on startup-when it runs, a image (with the AV logo) pops up, and after a while (like 2-3 seconds) it dissapears-when it runs on startup, the main screen of it dont' pop up, but will be shown on system tray
View 1 RepliesI design photo viewer app using this code
[Code]...
now how to make my photo viewer open when user open drive C and get all photo in the drive to be shown in it ?
About 3 years ago i came across a vb project for a photo album, it was on online tutorial and I followed it and after some custom tweaking I found it was quite usefull. Unfortuatly the original sourcecode has long since vanished.The project was fairly easy to follow and I remember the author had a photo image of his sailing boat and a yellow labrador (just trying to jog some memories here) :).
Anyway; I have searched high and low for it but can not find it. I'm pretty sure it was on a msdn or some other microsoft forum and was to do with VB 2005 or VB 2008 edition of Visual studio.
What does this error mean? I havent modified anything in the designer code, but its giving me an error? WithEvents variable 'Move' conflicts with event 'Move' in the base class 'Control' and should be declared 'Shadows'. The error relates to Friend WithEvents Move As System.Windows.Forms.DataGridViewCheckBoxColumn
View 1 RepliesHow can i compress an image using vb.net?
View 2 RepliesHow 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 RepliesWhen 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?
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 RepliesI 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 RepliesI need a simple code to compress a folder to *.zip file silently without modules or adding project .... etc.
View 18 RepliesI'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.
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 RepliesHow 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.
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 Replieswhat 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?
how do you compress audio file wmv with net libraries to wma MP3?
View 4 RepliesHow 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 RepliesI 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]...
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 RepliesCan you compress data being sent from client to server and etc? If so how would i do this?
View 2 Repliesthis 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 RepliesHow to compress a folder in vb.ne appl to ZIP format?
View 6 Replieshow 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 RepliesI'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 RepliesI 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 RepliesI 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?