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

Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform