The error means that you can't simply set the text of a textbox or anything that requires a string with a number without first converting it to the appropriate data type.
For instance....
vb
' If option strict is not on, the below line will take the number 4 (an integer)
' implicitly convert it to "4" and then put it in the textbox as a string.
txtNumber.Text = 4
' If option strict is on, no implicit conversions are allowed, so you must
' EXPLICITLY convert it yourself. Here we are telling it to take the integer
' convert it to a string and then give it to the textbox.
txtNumber.Text = CStr(4)
The reason Option strict flags this as a problem is because you should always be making sure that the data is of the right type for its destination. You should never rely on the compiler to decide what is best for your data. If it was to guess wrong, then it would lead to bugs that would be harder to track down.
You can find out more about this by doing a search for "implicit and explicit conversions".
"At DIC we implicitly assume you know what you are doing... then you prove us wrong by explicitly showing us that you don't know what the hell you are doing."
This post has been edited by Martyr2: 22 Nov, 2008 - 04:28 PM