Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: dope on April 08, 2005, 06:47 PM

Title: counting lines in a combo box
Post by: dope on April 08, 2005, 06:47 PM
I have a combo box that uses a txt file to display passwords. How can I count and display the total number of lines in the combo box or from the txt file?
Title: Re: counting lines in a combo box
Post by: UserLoser. on April 08, 2005, 08:51 PM
Object.ListCount
Title: Re: counting lines in a combo box
Post by: dope on April 08, 2005, 09:26 PM
thx UL, doh silly me. I was trying to use that, but I was adding it to the form_load sub and  my combo box doesn't select it's first line until start is clicked. So I added it to the Start sub and it worked fine. When you said it was listcount I felt stupid right away. Thx so much
Title: Re: counting lines in a combo box
Post by: QwertyMonster on April 09, 2005, 07:44 AM
Editted.
Title: Re: counting lines in a combo box
Post by: Adron on April 09, 2005, 01:28 PM
Quote from: QwertyMonster on April 09, 2005, 07:44 AM
[offtopic]
http://forum.valhallalegends.com/phpbbs/index.php?topic=11221.0
Me too...
[/offtopic]

I'd like to take the time to point out that one of the safest ways of getting banned from this forum is to ignore moderators. If a certain post has been moved to the trash can, it's typically not a good idea to bring the off-topic discussion back into the thread.
Title: Re: counting lines in a combo box
Post by: QwertyMonster on April 10, 2005, 05:11 AM
Quote from: Adron on April 09, 2005, 01:28 PM
Quote from: QwertyMonster on April 09, 2005, 07:44 AM
[offtopic]
http://forum.valhallalegends.com/phpbbs/index.php?topic=11221.0
Me too...
[/offtopic]

I'd like to take the time to point out that one of the safest ways of getting banned from this forum is to ignore moderators. If a certain post has been moved to the trash can, it's typically not a good idea to bring the off-topic discussion back into the thread.

Sorry :'( I wont do it again