I got a problem as demonstrated by thee following code. The test for
returns
, and also
also looks legitimate. However, I get "File Not Found" error when
is called on the same file
has been initialised to "d:\deployment\20040126-103023.sdo".
Whatt could be the error. I can't think of anything wrong!!
Code:
FileExists
Code:
True
Code:
MsgBox strLatestPackageFile
Code:
GetFile
Code:
strLatestPackagefile
Whatt could be the error. I can't think of anything wrong!!
Code:
Dim objTmp
Set objFileSystemObject = CreateObject("Scripting.FileSystemObject")
MsgBox strLatestPackageFile
MsgBox "c1" & Vbcrlf & Err.Description
MsgBox objTmp = objFileSystemObject.FileExists(strLatestPackageFile)
MsgBox "c2" & Vbcrlf & Err.Description
Set objTmp = objFileSystemObject.GetFile(strLatestPackageFile)
MsgBox "c3" & Vbcrlf & Err.Description