VB.net problem

Started by
-1 comments, last by gamechampionx 18 years, 11 months ago
I have a VB.net program that will compile. When I step through the progam, it starts Shared Sub Main which looks like: Shared Sub Main() Application.Run(New main) End Sub main is just the main form of the program. It then goes to: #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub It goes through those two lines in the method, and returns to Application.Run(New main). I step once more and it crashes, saying: An unhandled exception of type 'System.IndexOutOfRangeException' occurred in system.windows.forms.dll Additional information: Index was outside the bounds of the array. What type of error is this? I'm not sure if it's in my code or if it's something more structural.
Check out Drunken Brawl at http://www.angelfire.com/games6/drunken_brawl!

This topic is closed to new replies.

Advertisement