I'm building an application in vb.net and I've recently started experiencing random crashes in the app, the problem I have is that there's no way to know what's crashing it because the error message is very generic unlike how normally when there's an error in vb.net it specifically goes to the point in the code that crashed it.
I have a MAIN form from which I load other forms from, it's when I open up the other forms that I start to get crashes;
if I bypass the main form and I set one of the other forms as the start up form then I don't get the error anymore, it's something about the main form that causes all the other forms to unexpectedly crash,
I don't understand why these other forms are influenced by the main form, there are a few tables that I query in the main form but I don't see why it would crash all the other forms...
I use the standard code to open the forms :
The error message is a simple : windowsapplication1 has stopped working : A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available
It's impossible to know what's causing it...?