Re: trouble with vb filecopy

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Bob Butler (tiredofit_at_nospam.com)
Date: 03/17/04


Date: Wed, 17 Mar 2004 08:20:18 -0800


"Mark" <mroach@ogclearinghouse.com> wrote in message
news:9bcd02a2.0403170809.43eef6e4@posting.google.com
> Have VB code in access that copies an access file. When I try to open
> it after it's been copied, I get a message in access saying it's an
> unrecognized file format.
>
> Here's the copy statement:
>
> FileCopy File2, "c:\x.mdb"
>
> Any suggestions would be appreciated!

was the file open by anybody when you did the copy?
did filecopy report an error (maybe you have 'on error resume next' in
effect)?
if you use the DOS command FC /B C:\X.MDB <oldpath> afterwards are the files
identical?



Relevant Pages