Dim filetr As New FileInfo("Dsetup.dll")
filetr .MoveTo("Dsetup.bak")
Sleep (500) ' Remember in order for this to work you need to add the sleep code from the snippets form, otherwise you can use threading.sleep, but I don't recommend it.
Dim filetm As New FileInfo("C:\Location\Dsetup.dll") ' Your location = wherever file is located
filetm .MoveTo("Wherever you want it\Dsetup.dll") ' Wherever it is this file needs to go
Yes hejsan, I suggested it, I just don't like it because if you are not familiar with multi threading, you will sleep the whole system, the sleep method uses application do events to allow the application to continue processing other tasks
But it is the better alternative if you don't plan on your application doing anything else during the process.
Originally Posted by NextGen1
Yes hejsan, I suggested it, I just don't like it because if you are not familiar with multi threading, you will sleep the whole system, the sleep method uses application do events to allow the application to continue processing other tasks
But it is the better alternative if you don't plan on your application doing anything else during the process.
The sleep codes seems helpful to me so I'll stick to both of the codes. *pressed thanks*
btw. What I mean to my other problem is the button will copy the contents of the textbox by using a button
which you will not press "Ctrl + c" anymore to the contents of it.
so, when I pressed the button, I'll not pressing "Ctrl + c" anymore.
and I'll just press "Ctrl + v" in where will I paste it.
maybe you can help me with it.. since it might be easy for you..
[sorry if I didn't post this to a new thread since i'm busy at my works for now.]
On a button click event, use the code I added above,