Compress Folder In D: Directory In Turn (loop)
Jul 14, 2011
I have a task..Since im a beginner in VB, how do i create the program which can compress the folders in Directory ( D:BackupFolderName) automatically in turn..I have around 20 folder in this directory..(20110501-20110520)..I need to use Loop or which statement?this is compress codes to compress one folder automatically..
[Code]...
View 2 Replies
ADVERTISEMENT
Nov 11, 2010
I have an FTP connection with around 50 folders in it, I have one file that I need to upload to all of these folders, how can I get the list of these folders in there so I can go ahead and upload the file automatically? The folder # keeps increasing and I can't manually keep uploading the file to each folder.
View 2 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
Feb 9, 2012
I have some problem with copying the file from one Directory to another directory by create the folder if that folder is not exists in destination directory.
Example:
Source path: C: emp est1.txt
destination path: C:Data
[code].....
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
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
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
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
Jul 22, 2011
how to copy, delete, show files, show current directory, change directory, make folder, rename folder. My problem is i have a method on deleting a file and copying a file, but i don't know how to pass the method so that when i click the delete button it would let me choose what file to delete. By the way im using buttons on each function.[code...]
View 2 Replies
Jun 5, 2010
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 Replies
Oct 22, 2009
How would i make it so my application can turn/off the hidden folder option?
View 9 Replies
Feb 9, 2012
copying the file from one Directory to another directory by create the folder if that folder is not exists in destination directory.Example:
Source path: C: emp est1.txt
destination path: C:Data
if C:Data doesn't contains "temp" or "test" folder, it should create the folder before copy the 1.txt.[code]....
View 1 Replies
Dec 3, 2010
How to programmatically set the "compress" attribute of a folder
View 3 Replies
Feb 11, 2012
My current code: Server: Imports System.IO Imports System.Text Imports System.Threading
[Code]...
View 9 Replies
Apr 29, 2010
I have a requirement to turn off "Public Folder Sharing" under "Control PanelAll Control Panel ItemsNetwork and Sharing CenterAdvanced sharing settings" programatically.I know how to turn off Network Discovery and File and Print sharing with netsh command but
View 2 Replies
Feb 17, 2012
Right now I can add background music in my program by using this code
My.Computer.Audio.Play(My.Resources.Music_3, AudioPlayMode.Background)
I can also turn it off and change the music by using this code
My.Computer.Audio.Stop()
My.Computer.Audio.Play(My.Resources.Another_Music, AudioPlayMode.BackgroundLoop)
Is it possible to pause the music then if I resume the music it will just continue the flow? I mean if I pause the background music in 33 seconds and the music has 50 seconds and I resume it will just continue playing in 33,34,35 etc.. seconds?
View 2 Replies
Sep 1, 2009
I was wondering if their was a way to for me to turn off events and then turn them back on in my program or just queue them up until i am ready for them to be excuted. Kinda like how a OS turns on and off interupts. Is this one of those general programming no-nos?
View 1 Replies
Feb 7, 2010
How can I loop through a folder getting each file listed and when its date/time?
View 1 Replies
Feb 8, 2011
I am trying to loop through a directory and for ever text file that I find, convert the encoding to UTF-8 Fromat.
View 2 Replies
Jul 27, 2010
I am trying to download a file into a directory. Basically when the user presses a button the code will make a folder and download a file into that folder. I want to make that folder inside an Atari Program Files. It Reads "C:Program FilesAtariRollerCoaster Tyccon 3 PlatinumCars..Inside the cars directory i want to make a folder but when i try it fails. but when i change the whole path to my desktop it doesn't fail.
View 9 Replies
Aug 1, 2010
i am trying to download a folder into a directory. A few days ago Acamar helped me by giving me some code but i get an error when trying to download certain folders. I was wondering if their was a way to fully download an unzipped folder to a path that is in textbox1.
View 20 Replies
Jun 17, 2009
What i would like to do, is have it load up with the settings for the users desktop.here's what i'm trying to do..when first loading a new settings file, a label with a directory as "C:Users rujadeDesktop" is created. if i install the app on a foreign p.c., when running the program for the first time, it loads the label with "C:Users rujadeDesktop". i'm trying to figure out how to load it with the user's desktop directory instead.[code]...
View 11 Replies
Mar 4, 2010
How to be able to read every folder or directory? Do I have to set my application to RUN AS ADMINISTRATOR or something?
Running some code recently using.>>
filesArray = Directory.GetFiles(fbd.SelectedPath, "*.*", SearchOption.AllDirectories)
with
[code].....
View 5 Replies
Apr 25, 2009
So im making this little program my first as a matter of fact and i have been using this code
Dim Proc As New System.Diagnostics.Process
Proc.StartInfo.WorkingDirectory = "app.location"
Proc.StartInfo.FileName = ""
Proc.Start()
The problem is now i need it to just open up the "app.Location" and i cant figure out how that will only open up files correct? note: using vs 2008
View 7 Replies
Jul 25, 2011
I've been working on some code to rename files and have being doing so by copying them to the same location under a different name and then removing the original. When I do this for files I use the code ...
Dim file As New System.IO.FileInfo(lstFiles.SelectedItem.ToString)
Dim strNewFile As String
Dim strRename As String
Dim strMask As String = ""
[code]....
This will obviously not work as it will try to copy the folder into itself which is not allowed.
View 4 Replies
May 22, 2011
I would like to create a folder with code and put it in any directory I wish. What is the code?
View 1 Replies
Apr 5, 2011
Now, i found this code to upload a file.
Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://quex.dk/file.txt"), System.Net.FtpWebRequest)
[code]....
View 6 Replies
Mar 23, 2009
When im naming a variable for a directory should i end the variable name with path, folder or directory.
View 4 Replies
Oct 22, 2009
I want to search a directory and get all the names of the "Folders" within that directory and place them into a string array. Note: No Files just folders
View 3 Replies