Solved

Help!!

Posted on 1998-11-04
1
140 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
[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
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

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

624 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