Could certain file names be fooling it? Some files are read-only Some files are actually directories Some filenames are "." and ".." Can you have the program tell you the name of each file as it is being copied? At 02:36 PM 3/14/01 -0500, you wrote: >Hi Tim, > >Thanks. My code looks very similar, and, unfortunately, the code on that >page still has no error handling. > >Sean > > >On Wed, 14 Mar 2001, Tim Hamel wrote: > >> You could check this site out and see how your code compares: >> >> http://www.mvps.org/vbnet/code/shell/shdirectorycopy.htm >> >> Regards, >> >> Tim Hamel >> >> In a message dated 3/14/01 11:07:47 AM Pacific Standard Time, >> shb7@CORNELL.EDU writes: >> >> >> > Hi everyone, >> > >> > Sorry for the OT message, but I know someone here can help :-) >> > >> > I'm trying to copy some files over a LAN in a VB program using the >> > SHFileOperation function, and occasionally, I'll get errors from it. I >> > can't seem to find an explanation of the error codes it returns. I'm >> > getting errors 1026 and 117. I found a web site where it said that 1026 >> > is like "File not found", but this doesn't make much sense because I'm >> > copying a whole directory and I know that it always exists. I'm thinking >> > that the error could mean something a little different over a network. >> > Any ideas? >> > >> > Thanks, >> > >> > Sean -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics