@Oblio: Your post was the same when I HAVE already tried out using with your code so DO NOT repost with the old same crap again. Your code shows nothing from my code. So now I am going to stick with my code. I am trying to find any situations to get the code successful but I have no luck so far...
I think its best for you guys to read it again what's going on....
When I type the value numbers on textbox and if I type higher than 1.0 which it greater than 1000 for trakbar value, I received the textbox.showdialog which it works great BUT when I try to move the trackbar value to the lower value, I received the textbox.showdialog immediately everytime. I am not over the limit of the strings. And when I type the lowest strings numbers like 9, the textbox.showdialog also display. See the trouble I has....
You guys need to reread on my 55th post carefully as there is NO need to repeat it again, I don't want to say it again, again, again, again and again as it getting on my nervous and I'm getting boring of sayin this again.
Code
Code:
If Val(Form2.Textbox.Text) <= 999 Then
Form2.TrackBar2.Value = Val(Form2.Textbox.Text)
End If
If Form2.Textbox.Text = "1.0" Then
Form2.TrackBar2.Value = 1000
End If
If Form2.Textbox.Text > 1.0 Then
Form2.TrackBar2.Value = 1000
Textbox.ShowDialog()
End If
End If
However, I don't want to write the longest code to make my form slowing down like this.....
Code:
If Form2.Textbox.Text = 1.0 Then
Form2.TrackBar2.Value = 1000
Textbox.ShowDialog()
End If
End If
If Form2.Textbox.Text = 2.0 Then
Form2.TrackBar2.Value = 1000
Textbox.ShowDialog()
End If
End If
If Form2.Textbox.Text = 3.0 Then
Form2.TrackBar2.Value = 1000
Textbox.ShowDialog()
End If
End If
If Form2.Textbox.Text = 4.0 Then
Form2.TrackBar2.Value = 1000
Textbox.ShowDialog()
End If
End If
ETC.....
This is why I am HERE to require for some help, because the strings is greater than or equal to the following number but I CANNOT move the trackbar value or type any of the less numbers.
I don't want to write from 1.0 to 10 which is the crazy job to write the longest numbers. To write
If Form2.Textbox.Text > 1.0 Then is much quicker than the longest job to write but I am having trouble with the loops.
I need this to get fix asap.
Thanks,
Mark