Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The scripting.filesystemobject Class
Message
 
À
12/04/1999 16:33:16
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00207571
Message ID:
00207729
Vues:
12
>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é
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform