![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hi there how can i load a text file into a combo regards -- -------------------------------------------- giving up is not an option |
#3
| |||
| |||
|
|
"Bolo" <Bolo (AT) discussions (DOT) microsoft.com> wrote in message news:7810764C-C3FA-49D1-914B-CC8BE7DC66BD (AT) microsoft (DOT) com... hi there how can i load a text file into a combo regards -- -------------------------------------------- giving up is not an option Depends on the content and arrangement of your text file. The .NET ComboBox class includes an items collection into which you can add the list of items to display. To add the items programmatically, use the Items collection Add() method. cboMyBox.Items.Add("A line of text") for example. You'll need to break up your text file into strings to use as arguments to the Add() method. -- Peter [MVP Visual Developer] Jack of all trades, master of none. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |