|
-
August 27th, 2011, 03:30 PM
#1
Noob Question - Basic Program!!!
Hi All
I’m not a programmer by any means - All I know is batch file "programming/scripting"
So here is where I need ALOT of help and advice.....
I have VB 2010 express. I would like to make a basic program that copies a file or directory from one place to another (source to destination)
For example:
I would normally use a batch file that would look like this......
copy "C:\test.file" "D:\backup\test.file" /y
Very simple
I would like to have a browse button for the source and destination so I can tell the program what file/directory to copy and were and maybe link a progress bar to it to make it look FANCY:bigyello:
PS - my level of know how when it comes to Visual Basic is pushing the debug button
Thanks
-
August 28th, 2011, 09:29 AM
#2
Re: Noob Question - Basic Program!!!
Probably need to start with an easier project, like "Hello World" to get used to the language and interface
-
August 28th, 2011, 04:46 PM
#3
Re: Noob Question - Basic Program!!!
I'd agree with Mur16 assuming that you're trying to learn the language. If you really need to solve this issue is there any particular reason for .NET?
-
August 28th, 2011, 11:36 PM
#4
Re: Noob Question - Basic Program!!!
have a look here http://www.vbdotnetheaven.com/Upload...nFileInVB.aspx
The statement to copy a file is System.IO.File.Copy .....
Always use [code][/code] tags when posting code.
-
August 29th, 2011, 02:27 AM
#5
Re: Noob Question - Basic Program!!!
Well, this can also be pretty basic. I use this type of question for my students as well. Learning how to use the controls upfront is very essential. 
You could also make use of the FolderBrowserDialog to browse for folders :
http://www.google.co.uk/search?q=fol...&aqi=&aql=&oq=
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|