Solved

VB Combo Box and Microsoft Access Combo Box

Posted on 2004-08-31
4
144 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 51

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run code from text file in vb 1 87
Zip Folders Using Chilkat Routines 1 75
checkbox to hide entire section 10 62
Assign a value in Excel V-Basic 3 29
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 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