Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

VS 2010 [RESOLVED] String to Double Error

$
0
0
Hi Guys,

I am probably doing something stupid here lol im trrying to update a label.txt with an integer, everytime we loop we update the label by + 1

Code:

                    Dim number As Integer
                    lblFailed.Text = number.ToString + 1

Using the code above i get "Option Strict On disallows implicit conversions from 'String' to 'Double'" im looking to grab the current value of the label then just add 1 each time.

any help would be great!

cheers guys

Graham

Viewing all articles
Browse latest Browse all 27189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>