[quoted text, click to view] "Bolo" <Bolo@discussions.microsoft.com> wrote in message
news:7810764C-C3FA-49D1-914B-CC8BE7DC66BD@microsoft.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.