Solved

Help!!

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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
bit defender blocks good applications 2 101
Can we place a tooltip on the actual vb6 form 5 48
Advice in Xamarin 21 96
Fastest way to find and count same items VB6 16 22
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

839 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