Hello all. I am new to this forum and have a question. I am using Visual Basic 2008 Express Edition. This is what I want to do:
Copy all files and folders from A to B example: Copy From C:\Source to \\Server1\Dest
I also am trying to use a progress bar to show the actual progress. Which hasn't worked. I can't time it because the number of files varies from day to day.
I would also like to pull variables from a text file or config file for example what the source path is and what the destination path is. I want this to be predetermined so the whole process is automated. Any help would be great. I have scrapped this project like five time. Thanks in advance.
Create Simple Back Up Application
Started by R8ter63, Jan 21 2011 05:33 PM
3 replies to this topic
#1
Posted 21 January 2011 - 05:33 PM
|
|
|
#2
Posted 22 January 2011 - 06:22 AM
#3
Posted 22 January 2011 - 01:12 PM
sam_l said:
That would work to copy one file at a time. I found My.Computer.FileSystem.CopyDirectory but it keeps throwing an exception stating that PathTooLongException was unhandled but I am sure my path names are under 248 characters. Any thoughts?
#4
Posted 22 January 2011 - 05:03 PM
I link was helpful a little. I don't want to have to copy one file at a time. There can be anywhere from 200 to 1000 files. I did find a link from the one above that touched on copying folders but I keep getting an exception about the Path being too long.


Sign In
Create Account

Back to top









