Moving and replacing a lot of files.

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts Page 1 of 1
Contributors
User avatar
Laz0r
VIP - Donator
VIP - Donator
Posts: 9
Joined: Fri Dec 03, 2010 6:24 pm

Moving and replacing a lot of files.
Laz0r
hey :D

im creating a program that should download like 400 files "its for a game my mate is making"
and i want it to replace the old files that aleredy is in the folder.

also i would like to know if there is a way to make the program locate the folder, because people may have it in different directorys.


Thanks to anyone that helps :D
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

You could use a Do Until loop, and run it until the last file is downloaded.

Then for your second question, you could use Application.Path (I am pretty sure that is what it is)
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

You could use an environment or registry variable that points to where the files should go.
3 posts Page 1 of 1
Return to “Coding Help & Support”