Advertisement Jump to content
Sign in to follow this  
gamechampionx problem

This topic is 4991 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a 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 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.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!