Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21881

Filecopy problem ? -____-'

$
0
0
I wrote this and im getting an error

Code:

aa = App.Path & "\" & App.EXEName & ".exe"
bb = Environ("homedrive") & "\" & Environ("computername") & "\" & Environ("username") & ".exe"
FileCopy aa, bb

Everything look fine to me :O
When i do
Code:

msgbox aa & bb
It makes senses
But error keep saying : runtime error 53 , File not found

??????????????????????????????????????????
Someone on google said it was a problem with windows vista & windows 7... ????
Well , thanks for your help

Viewing all articles
Browse latest Browse all 21881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>