Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The scripting.filesystemobject Class
Message
 
To
12/04/1999 16:33:16
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00207571
Message ID:
00207729
Views:
13
>Hello,
>
>I am trying to program a backup utility for an application. Everything works fine until the dbc files need to be copied. When the program gets to the instruction to copy the datbase files I get the following error:
>OLE error Code 0x800a0046: Unknown COM status code.
>
>The file does exist, and I think the database is closed. I don't know what else could be wrong. The code is below.
>
>ofs.copyfile(alltrim(ThisForm.pgfrmbackup.Page2.txtrestorePath.value) + "configurator.dbc",lcdesfile,.t.)
>ofs.copyfile(alltrim(ThisForm.pgfrmbackup.Page2.txtrestorePath.value) + "configurator.dct",lcdesfile,.t.)
>ofs.copyfile(alltrim(ThisForm.pgfrmbackup.Page2.txtrestorePath.value) + "configurator.dcx",lcdesfile,.t.)
>
>I have even tried using wild cards instead of the name.
>
>Any ideas
>
>Jim

Jim,

Your DBC might be in use. Do you still have the problem when issuing a CLOSE DATABASE ALL before your code?

José
Previous
Reply
Map
View

Click here to load this message in the networking platform