Quantcast
Channel: VB 2010 Progress Bar.
Viewing all articles
Browse latest Browse all 41

VB 2010 Progress Bar.

$
0
0

Don't use the substring for characters beyond 1 - it will fail for exactly the reason you describe.  You can't just take a piece of code provided with one set of values and assume that code will continue to work properly if you change one of those values - it might or it might not, but you have to examine what the code is doing and work out whether or not the code can be changed.   Use the one I provided:

outLine.Data.Substring(1).Split(" ")(1)


Viewing all articles
Browse latest Browse all 41

Trending Articles



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