When I compile and run my program I have a textbox that is blank. I made a button that, when clicked, makes Textbox1.text = "0"...
My question is how do I make it so that Textbox1.text = "0" right when my program starts up?
I want to be able to edit the value so it can't be an infinite rule meaning it will always be "0" and you can never change it.
I want to do something like this:
CODE
IF Textbox1.text < "0" THEN Textbox1.text = "0"
BUT if Textbox1.text is BLANK with nothing in it, it isn't a number at all so therefore it isn't less than or greater than 0. Right?
IS THIS VB.NET? it's visual basic 2008... I think that this might be talking about "visual basic 6.0" and not everything after it..
This post has been edited by StealthTools: 2 Sep, 2008 - 05:32 PM