I have programmed with MS Access/VBA for a number of years and have decided to re-write a marketed application in VB.net.
What a learning curve.
Several of you have helped me immensely with a number of problems. Almost all of which (issues) I am 100% satisfied.
I've reviewed several versions of 'autocomplete' class code examples. None of which were truly functional or have the
'professional look and action' as the one that is inherent to MS Access. Why wouldn't the Microsoft designers of VB take
a lesson or two from the Microsoft designers of MS Access when it comes to such a rudimentary property of a combo box?
Having said that, there is one entry on the forum here dealing with some code I am having problems with but want to test with
the hopes that it will have the look I'm hoping for.
The following link at the beginning of his post:
does not explicitly show how to modify for combo box. It refers to use with a list box. I'm assuming the code in his posting below
the 'Source:' link is specific to using a combo box.
Because of my beginner status and lack of experience with classes and commands, I don't quite understand the complete setup of
this AutoCompleteComboBox class. At the end of TheLearnedOne's Accepted Answer he makes reference to how to set up.....but
not in an explicit way that I unfortunately need because of my lack of experience. I do have valid code designed to a point. But I
don't understand the integration with getting the combo box on the form.
Private acStatus As AutoCompleteComboBox
acStatus.Enabled = True
The existing combo box I have on the form at this point is set up like this and is unbound:
.DataSource = dtStatus
.ValueMember = "field_order"
.DisplayMember = "field_description"
Am I suppose to be able to drag and drop a new AutoCompleteComboBox from the toolbox?
Do I have to do everything programmatically?
I have existing combo boxes using datatables. Do I somehow integrate them with this class?