Solved

VB Combo Box and Microsoft Access Combo Box

Posted on 2004-08-31
4
146 Views
Last Modified: 2010-05-02
Hi, I want to start a project with using Visual Basic.

But I found that the combo box function in Access is very powerful as it can split column to display difference kind of information in several column, and indicate the primary key in hidden column.

Compare with VB's combo box, seem like it is hard to achieve.

I wonder is it possible to import Access Combo Box into VB project ?
Hopefully it is not a too silly question, i try search it from internet, but it just lack of information.

Thank you very much.

Regards,
xiaoytan
0
Comment
Question by:xiaoytan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 125 total points
ID: 11941202
Yes. Add the component: Microsoft Forms 2.0 Object library to your project.
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 11941218
Note that if you do have Office installed then this should be already on your system. The file name is FM20.dll
0
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 11943377
Alternatively see how it works in this example:

Substituting a ListView for a Combo's Dropdown List
http://vbnet.mvps.org/code/subclass/combolistview.htm
0
 

Author Comment

by:xiaoytan
ID: 11970180
Hi, Grahamskan.
Thank a lot. I can add the combo box on a "UserForm".
It just that, how the combo box connect with database and get the table info ?
i try lot time already, but still cant work.

And there has a difference between Userform and normal form, aren't they ?

As ryancys, I did go to the useful link. and will try whether this way working....

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question