Empty documents

  •  01-25-2006, 8:25 AM

    Empty documents

    When I open a empty document, I get tje next error:

        Microsoft VBScript runtime error '800a003e'

        Input past end of file

        /main/htmleditor/CuteEditor_Files/include_CuteEditor.asp, line 857

    I replaced this line 857 - "fileContents = file.ReadAll" with:

                if not (file.AtEndOfStream) then
                    fileContents = file.ReadAll
                end if

    Now the editor opens and the new data can be saved. Can this code inserted in the new version?
View Complete Thread