Jump to content

Get string from datagrid


fxg4758
 Share

Recommended Posts

Hello people. I have a datagrid in a program (VB) that have tree columns and various rows. I need to find a string in the first column and if isn´t find then go to the next row. I already try the ControlGetText or WinGetText, but i don´t have any luck. Thanks for any help. :whistle:

Link to comment
Share on other sites

Hello pjotterke. Thanks for your reply. The control is "DataGridWndClass" and when I use your solution, i cannot select the right line. For example, i have various lines starting "Sport", but i don´t know how to select only "Sport Car". Can you give me some of code for the right selection and to move in the next row. Sorry for the question, but I only start at a month ago in this program. :">

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...