How to: Move a File in Visual Basic
Link from where I got:
How to: Move a File in Visual Basic
Note: TestDir1 and 2 are usernames, change then to the loctation to take from, and to the location to.
And for moving file and renaming it:
Also, if you want to make a button/label open up internet and go to website, use this code:
Also, if you want to make something create a text file:
Also, if you want me to make tutorials on making actual computer programs, then PM me, I can make tutorials on making a:
Spammer, note pad, msg box generator, speech, auto clicker, etc, just PM me...
IT'S SO SIMPLE! If you need any help, just PM me...
How to: Move a File in Visual Basic
Code:
My.Computer.FileSystem.MoveFile("C:\TestDir1\test.txt", _
"C:\TestDir2\test.txt")
And for moving file and renaming it:
Code:
My.Computer.FileSystem.MoveFile("C:\TestDir1\oldname.txt", _
"C:\TestDir2\newname.txt", _
FileIO.UIOption.AllDialogs, _
FileIO.UICancelOption.ThrowException)
Code:
Process.Start("http://DomainHere.com/net/tk/etc...")
Code:
My.Computer.FileSystem.WriteAllText("C:\TestFolder1\test.txt", _
"This is new text to be added.",True)
Spammer, note pad, msg box generator, speech, auto clicker, etc, just PM me...
IT'S SO SIMPLE! If you need any help, just PM me...

yup go visual basic lol

