Solved

VB Combo Box and Microsoft Access Combo Box

Posted on 2004-08-31
4
140 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
  • 2
4 Comments
 
LVL 76

Accepted Solution

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

Expert Comment

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

Expert Comment

by:Ryan Chong
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now