By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,499 Members | 829 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,499 IT Pros & Developers. It's quick & easy.

File copy problem

P: n/a
I am using the FileCopy command to copy a file from one location to another.
The file is copied but the copy is an empty file. This is the same for Word,
Excel, MDB etc. ie the copied file has the correct name and extension but
when opened has no data. For a JPG, BMP the copied file is not a valid JPG,
BMP
This is only happening on one site, other sites using the same code seem to
work fine.
Interestingly the FileCopy command in my code is displayed as filecopy (no
capitals) it has capitals in other projects.
Could it be due to the order of references, I know missing references can
cause odd problems but there are no missing references.
Can anyone suggest a solution please.
Alex
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Sorry, I should have said, I am using Access 2K. The site has Access 2k
runtime.

"Paradigm" <al********@hotmail.com> wrote in message
news:Le*******************@newsfep4-winn.server.ntli.net...
I am using the FileCopy command to copy a file from one location to another. The file is copied but the copy is an empty file. This is the same for Word, Excel, MDB etc. ie the copied file has the correct name and extension but
when opened has no data. For a JPG, BMP the copied file is not a valid JPG, BMP
This is only happening on one site, other sites using the same code seem to work fine.
Interestingly the FileCopy command in my code is displayed as filecopy (no
capitals) it has capitals in other projects.
Could it be due to the order of references, I know missing references can
cause odd problems but there are no missing references.
Can anyone suggest a solution please.
Alex

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.