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 8,974 of 10,840   
   Eric Mitchell to All   
   Listbox   
   12 Nov 04 10:38:31   
   
   From: surfbro80@cox.net   
      
   Hello All,   
      
   I have a listbox that I want to populate with information from a text file.   
   For each index in the listbox, I want to load the next line of the text   
   file, until there are no more lines. I have the code to open and read each   
   line from the text file, but I cannot figure out a way to read a line, put   
   it into the listbox, then go to the next line and repeat the process. I know   
   it will have to use a For... Next loop, but can't get the configuration   
   right. Any help would be greatly appreciated!   
      
   --- 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