|
-
Sep 10th, 2012, 12:14 PM
#1
Thread Starter
Junior Member
Label1.text = 0 error
When i type "Label1.text = 0" or use anything that can hold text, and try to have the text as an integer, just like in the example, i get an error. "Option Strict On disallows implicit conversions from 'Integer' to 'String' ", it also gives me an example of what it thinks i should be using, "Label1.text = Cstr(0)". I'm very confused by this as i've used integers in textboxs and labels many many times, and when i copy and paste from my old scripts it also comes up the errors, yet my old scripts still work, and are error free.
Does anyone know what the problem could be?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|