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,390 of 10,840   
   Rick Rothstein (MVP - VB) to All   
   Re: Opening sequential files   
   17 Jan 07 19:03:05   
   
   From: rickNOSPAMnews@NOSPAMcomcast.net   
      
   >I have a sequential text file, Clients.txt,  and when my form loads I would   
   >like the first record only to be displayed - that's if it exists!   
   >Initially Clients.txt is blank.  Well I 'm getting error messages when the   
   >below code is triggered for an empty file.   
      
   An "empty" file (one that exists but has no text in it) or file that isn't   
   there at all? Oh, and so we don't have to guess, what is the error message   
   you are getting and on what line is it occurring? Finally, since I'm   
   guessing the ReadCLientRec is doing the bulk of the work, you might want to   
   show us its code also.   
      
   Rick   
      
   --- 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