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