<Vb6> Load a list Box with Lines From a File <Vb6>
| Author | Message |
|---|---|
|
Gold Member
Joined: Mon Nov 19, 2007 7:57 pm Posts: 972 |
|
|
Code: Select all Sub LoadListFromFile(cListBox As ListBox, sCurrentFile As String)Work away _________________ ![]()
|
|
| Top |
|
|
Silver Member
Joined: Fri Sep 21, 2007 6:10 pm Posts: 147 |
|
|
i know this topic was posted ages ago but i need help. I'm doing it so when you press load accounts it will let you load your file, but its not working. Can you say what we need and what they need to be called for this to work, sorry to be a pain I'm just starting to learn vb6
_________________ Please visit my bebo - http://www.bebo.com/luke2895 ![]()
|
|
| Top |
|
|
Gold Member
Joined: Tue Dec 18, 2007 7:17 pm Posts: 427 Location: Livingston |
|
|
luke2895 wrote: i know this topic was posted ages ago but i need help. I'm doing it so when you press load accounts it will let you load your file, but its not working. Can you say what we need and what they need to be called for this to work, sorry to be a pain I'm just starting to learn vb6 You need a list view and name it "clistbox" without the quotes and in command1_click Code: Select all call LoadListFromFile_________________ ![]() Code: Select all Purple Is Definitely A Fruit |
|
| Top |
|
|
Aciid VIP Joined: Tue Apr 29, 2008 9:19 pm Posts: 1342 Location: Cheltenham, Gloucestershire, United Kingdom |
|
|
Ally wrote: luke2895 wrote: i know this topic was posted ages ago but i need help. I'm doing it so when you press load accounts it will let you load your file, but its not working. Can you say what we need and what they need to be called for this to work, sorry to be a pain I'm just starting to learn vb6 You need a list view and name it "clistbox" without the quotes and in command1_click Code: Select all call LoadListFromFileYeah ally pretty much said it all. Make a button, name it cmdLOAD or w/e, then double click CMDLoad and enter "call LoadListFromFile" (without quotes"") Then make a new sub, and copy Fionns code into it ![]() _________________ Used to Be Benyboyy Now Ben My Bebo
|
|
| Top |
|
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum







