-
I'm not having any luck with this one. I tried this line:
FileCopy("c:\autoexec.bat", "c:\desktop\autoexec.bat")
Visual Basic returns an error saying "Expected: =". The help doesn't make it look like there should be anything returned. What am I doing something wrong? Thanks.
-
Remove the ()'s from the statement, or put Call in front of the statement. Whenever you include the ()'s vb expects that there is going to be a value returned and makes you assign the return value to a var.
-
Thank you very much. I had been wondering for some time why some things had the parentheses and others didn't. I never new. Now it works like a charm. :)