Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLE error code 0x800a004c: Unknown COM status code

Status
Not open for further replies.

shresthaal

Programmer
Jun 8, 2005
62
0
0
US
LOCAL o as "Scripting.FileSystemObject"
o = createobject("Scripting.FileSystemObject")
AERROR(arrayError)
o.CopyFile("source","destination")
?arrayError(2)

I am getting the OLE error code 0x800a004c: Unknown COM status code on the copyfile line. What does this error mean? What am I doing wrong? And how to get rid of this error?
 
shresthaal,

ActiveX error 0x800a004c is the same as the error code constant CTL_E_PATHNOTFOUND. Which means that a path was not found... so either your source path/file doesn't exist or the path for the destination doesn't exist. One of them is most likely wrong.

boyd.gif

SweetPotato Software Website
My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top