Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What DLL/Library do I need to reference...

Status
Not open for further replies.

ep1

Programmer
Oct 22, 2003
8
US
Would someone please tell me what DLL/Library I need to reference so that my ComboBox has Properties/Methods of ".ItemData" and ".NewItem"?

Thank you kindly for your time,

EP1
 
The full properties and methods for the combobox control are available with the default minimum references (those you can't remove)

I'm sorry I'm not familiar with the .NewItem property or method.

To add new items, I use the .Additem method.
The .NewIndex property shows the index of the most recently added item

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Is this Visual Basic? The intrinsic VB ComboBox has ItemData and NewIndex (not NewItem) properties. You need a project reference to Visual Basic objects and procedures but this is already selected by default and can't be deselected.

Paul Bent
Northwind IT Systems
 
Well from what i am figuring, you are using Form object from microsoft form object 2.0 and the combobox from that collection don't seem to have these methods.You will have to use basic combobox.You should have those in an other thumbnail of you object bar.
 
Thank you all for your help. I was using VBA to build my mini-application I have since switched to VB6 and as you all said those Properties/Methods are included.

Thanks again,

EP1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top