VB database Highlight SEARCHED CHARACTERS

  • Thread starter Thread starter Mike Phan
  • Start date Start date
  • Tags Tags
    Database
Click For Summary
SUMMARY

The forum discussion centers on enhancing a Visual Basic 6 (VB6) database program's SEARCH function to highlight searched characters within the results. The user, Mike Phan, reports that while the SEARCH function correctly navigates to rows containing the searched characters, it fails to visually distinguish between multiple occurrences of the same character. The discussion emphasizes the importance of consulting the VB6 documentation for specific functionalities related to text highlighting.

PREREQUISITES
  • Familiarity with Visual Basic 6 (VB6) programming
  • Understanding of database interaction in VB6
  • Knowledge of string manipulation techniques in VB6
  • Experience with user interface design in VB6 applications
NEXT STEPS
  • Research how to implement text highlighting in VB6 using the RichTextBox control
  • Explore VB6 documentation for string searching and manipulation functions
  • Learn about event handling in VB6 to enhance user interaction
  • Investigate best practices for improving user experience in database applications
USEFUL FOR

VB6 developers, software engineers working with legacy systems, and anyone looking to improve user interface functionality in database applications.

Mike Phan
Messages
67
Reaction score
0
Hi,

My VB6 database program SEARCH function is working alright, but not perfect.

For example, as the time I type characters in the SEARCH box, the cursor from the database table will move to coresponding row which has those characters. If the row has more than two the same characters as the search box, I don't know which one the program meant to point to.

Therefore, I want that the found characters (in the row) would be highlighted. Anyone can help me this? Thanks a lot!


Mike Phan
 
Technology news on Phys.org
What exactly is the problem...?

If you don't know how to do it, check your documentation. Not many people here would know VB6 this intimately. So unless there's a specific problem you need help with, we can't just code something for you.

Show us what's wrong, if there is a problem. If not, look for certain functionality in your documentation.
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
14K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
1
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
8K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
611