Hey; i'm trying to copy a file from one folder to an other using this code :
Code:
        Dim strSrcPath As String = TrleLiteBox.Text
        Dim strDestPath As String = CopyTobox.Text
        Dim strFileName As String = "EDGEPTR.PCX"


        If Not System.IO.File.Exists(strDestPath & strFileName) Then
            System.IO.File.Copy(strSrcPath & strFileName, strDestPath & strFileName)
        End If
But when I run the tool I get an error telling me the access to the path is denied.

I'm running Windows 7.
How can I grant it access?