Ok, so after checking against the original (my version of the object is indeed modified but that's not it) and having a look at the code, is it maybe that's the existance of the file needs to be checked in advance? And then checked again after the copy/move action, I guess. Not a VB expert but I'd say that the
objDirectoryInfo.GetFiles(sSourceFileName)
will return just nothing (empty list) for a non-existing file, and then the subsquent ""foreach"" will iterate through that empty list, that's do-nothing, ending with
Success = True
Message = """"
Is this explanation correct? I attached a code screenshot to support my view on this.
Thanks for the help,
Juan Montero.