Solved

Combo Box on change event

Posted on 2003-11-24
4
494 Views
Last Modified: 2010-05-01
Hi,
I'm working with VB6,
I have a combo box, I assigned to it a change sub,
Private Sub myBmb_Change()
-
-
End Sub
but it seems the procedure isnt called when I select a different value from the combo
What might be the problem?
0
Comment
Question by:zolpo
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 9809449
Hi zolpo,

You need to use the click event rather than the change event.

Tim Cottee MCSD, MCDBA, CPIM
Brainbench MVP for Visual Basic
http://www.brainbench.com
0
 
LVL 5

Expert Comment

by:rajaamirapu
ID: 9809469
Click event is fired when you click the combo box.
If it is a Dropdown combo when ever you change the text (entry) change event is fired.
0
 
LVL 5

Expert Comment

by:rajaamirapu
ID: 9809473
if depends upon the type
0
 
LVL 1

Author Comment

by:zolpo
ID: 9809754
click is what i needed,
Thanks a lot guys,
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

911 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

24 Experts available now in Live!

Get 1:1 Help Now