RE: Copy file & Move to directory [HELP] 10-15-2016, 12:58 PM
#3
You should try using the "environment" class.
Also I would recommend importing the System.IO class since you wouldn't have to type System.IO before each thing you want to do with IO.
I didn't know you were dutch as well.
Code:
Dim AppData As String = Environment.SpecialFolder.ApplicationData & "\Fevino\"
Dim FilePath As String = Application.ExecutablePath()
If System.IO.File.Exists(FilePath) = True Then
System.IO.File.Copy(FilePath, AppData, True)
End IfAlso I would recommend importing the System.IO class since you wouldn't have to type System.IO before each thing you want to do with IO.
I didn't know you were dutch as well.
~~ Might be back? ~~













![[+]](https://sinister.li/images/modern/collapse_collapsed.png)