I still suffer from an IOExcception in a project.
I spend the while afternoon working on files using both the standalone application and running in the IDE (thing I stopped some weeks ago).
Sometimes I get IOExcception working with a file just doing a load / save as then some Copy / Paste (string / Rows), Insert Rows, Changing the Listbox Headings. Sometimes I can deal with two or three files without troubles.
I do not found any shema to report in a Feddback entry.
Right now, I add the Nil checking in the if block from the code below:
[code] If ExportCSVFI = Nil Then
MsgBox “IOException quest” + EndOfLine + EndOfLine +_
“Did I found the source of the error ?” + EndOfLine +_
“The OS File Reference is Nil.”
End If
ExportTOS = TextOutputStream.Create(ExportCSVFI)
If ExportTOS = Nil Then[/code]
The last IOErrorException stopped in the ExportTOS = TextOutputStream.Create(ExportCSVFI)
line.
ExportCSVFI
is not Nil
.
BTW: I already reported a strange behavior with Text xxx Stream
/ BinaryStream
: now, I show you what I get in the Save As
dialog:
Notice the non folder entries (csv files): they are non Folder items which is normally impossible: clearly a bug (bug who can be the bug owner ?). The file I was trying to save is the one ending with -b.csv
.
Boring, but for me just an annoyance: I copy the whole Listbox contents, quit the application, run it, Paste the data and Export them (I just have to remember to not copy anithing during the operations
). But the application cannot be sold in this state.
Reader: if you have an idea, share it please.
PS: I save the data in csv files, but when I do that in txt, I can have the same IOException error. The code to export the data is located in two different Methods.