I am getting an error while reading a file's attributes with the FilesEx library - but only when I run a compiled version. I don't get the error from within the IDE. Any ideas?
The GetYahooRSS code (with some msgbox's to display steps):
Code:
If FileExist(AppPath & "\" & CurrentLocationCode & ".cache") = True Then
' Requires FilesEx library - agraham
Msgbox("creating reference to FilesEx library...")
filb.New1
Msgbox("getting file attributes via FilesEx library...")
fileInfo()=filb.FileInfo(AppPath & "\" & CurrentLocationCode & ".cache")
' Msgbox(filb.Dllversion)
Msgbox("splitting file into into array...")
arrDateTime()=StrSplit(fileInfo(2))
Msgbox("comparing file datestamp with current date...")
It errors at the "fileInfo()=filb.FileInfo" line.
UPDATE: Never mind. I was using version 1.2 of the FilesEx library and the current one is 1.3 - the latest version fixes this.