Solved

Help!!

Posted on 1998-11-04
1
135 Views
Last Modified: 2010-04-30
I have a dictonary program and i have made some code to put text in to the boxes and hit the find button but my problem is the find button isn't active unless you manuly type in the word to find so when my project puts the text in it can't hit the find button because it isn't available can some one help? If you dont know what I mean ask a auestion or e-mail me at marka64@hotmail.com and i will send you the prog sorce and the dictonary prog.

Im using VB3
Thanks
0
Comment
Question by:marka64
1 Comment
 
LVL 3

Accepted Solution

by:
TheAnswerMan earned 50 total points
ID: 1443213
instead of making the find button active on TextBox Keypress..
add this to TextBox change

cmdFind.enabled =  len(trim$(textbox))>0
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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

910 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

17 Experts available now in Live!

Get 1:1 Help Now