[Help]Copy and replacing files
Hey guys. I need to ask this..
is there a plan for preventing pop-up while replacing it to a new location?
Well, Here is an example.
I want to swap 2 files in their locations but their names will be the other file which was swapped too
Ex:
File1[Folder1] --->>> File2[Folder2]
File2[Folder2]--->>> File1[Folder1]
I use this codes as swapping them but there is a pop-up. but I just want to copy and replace it without the pop-up
Oh. btw. My reason why i'm asking this because
I'm making a program which changes the file location using the timer...
I like to play a game with my friends that Every second, the notepads changed locations and changes names... then we will need to look for the message of our friends by searching it on 9 folders.
[1 folder = 9 notepads]
Its kinda interesting if you like to do it with your friends ^^
is there a plan for preventing pop-up while replacing it to a new location?
Well, Here is an example.
I want to swap 2 files in their locations but their names will be the other file which was swapped too
Ex:
File1[Folder1] --->>> File2[Folder2]
File2[Folder2]--->>> File1[Folder1]
I use this codes as swapping them but there is a pop-up. but I just want to copy and replace it without the pop-up
Code:
My.Computer.FileSystem.MoveFile("C:\Folder1\File1.txt", _
"C:\Folder2\File2.txt")
My.Computer.FileSystem.MoveFile("C:\Folder2\File2.txt", _
"C:\Folder1\file1.txt")
I'm making a program which changes the file location using the timer...
I like to play a game with my friends that Every second, the notepads changed locations and changes names... then we will need to look for the message of our friends by searching it on 9 folders.
[1 folder = 9 notepads]
Its kinda interesting if you like to do it with your friends ^^

