Hi,
Thanks for the reply.
Yes in my case always office will be installed. I'm using this in an outlook
com add-in.
I have a list box in a outlook form and it cant be casted to a
System.Windows.forms.Listbox.
Therfore I have to cast it to a MS Forms 2.0 library.forms.ListBox. I want o
add some data to this list box.
I can add data using the AddMember() but when a value is selected I want use
the Int_Key to refer it back to the main data source.
Nadee
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:u9kQQL%(E-Mail Removed)...
> "MeAgin" <(E-Mail Removed)> schrieb:
> > I have a list box control derived from MS Forms 2.0 library in my VB.NET
> > 2005 project.
>
> Bad idea. Note that the control is not redistributable and requires
Office
> to be installed.
>
> Why not use 'System.Windows.Forms.ListBox', which has 'DataSource',
> 'DisplayMember', and 'ValueMember' properties.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
|