home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,715 of 10,840   
   Raoul Watson to jbk@spotter.gr   
   Re: read/write to txt?   
   26 Jan 09 01:45:56   
   
   From: WatsonR@IntelligenCIA.com   
      
   jbk@spotter.gr wrote:   
   > Hello guys, after creating a file called something.txt   
   > i try to open it via fso and   
   > i get an error:   
   >   
   > runtime error 62   
   > input past end of file...   
   >   
   > what should i do?   
   > what is this?   
   >   
   >   
   If you have input # statements this is quite common if you have it   
   executed inside WHILE NOT EOF(_)   
      
   Possible you have a file with an extra carriage return (empty line), so   
   technically it is not EOF but when you try to read using input #   
   statement, it went beyond the EOF so you get the error. Just trap the   
   error that's all..   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca