Hi kana250688,
I found some mistakes and unnecessary lines while working on your code.
1. You are accessing _typingTimer object before initializing it.
kana250688 says:
If
_typingTimer
Is
Nothing
Then
_typingTimer =
New
Timer()
2. You dont need to use ErrorProvider as the Label is used to display the error message when there is a invalid character is entered in the TextBox.
3. You need change the following condition.
kana250688 says:
If
_typingTimer
Is
Nothing
Then
Right condition is given below.
Because you timer is always NOT NULL. If you use above condition then it will never go for the searching of Data according to the TextBox1.
If _typingTimer IsNot Nothing Then
Apart from that, your code is working fine and I tested it with more than 500 sample records. It is working fast as it is working for less data.
Screenshot