Zero based Arrays
just watching a Video on how to upgrade from VB6 to VB.NET. It was on the MSDN January 2004 DVD, so i cant give a direct link. But he was talking about Zero Based Arrays. Basicly, you cant start counting at anything other then zero in an array. so if you have code like:
for i = 1 to 10
you would have:
for i = 0 to 9
in VB.net. this is because of being based on .NET and being compatible with C# and the rest of them. so, thats the first thing i have learned. also, that upgrade wizard is pretty handy, but it broke a few of my VB6 Apps.
blog comments powered by Disqus