Hi All,
I've recently attempted to upgrade a significantly large app to .net.
Having removed several hundred errors along the way I have now hit a
problem that I'm struggling to find a way around. The problem is this:
The app starts by performing a host of load up sequences (opening
databases, files etcs). Once finished a number of forms are created
and displayed. However, withing a few seconds of the forms being
displayed each forms resepctive dispose() function is called and the
app terminates. I've ploughed through the code and can't find any
clean up calls. The forms are created and shown as follows
dim someFrm as New frm2
someFrm.Show()
I assume the cause is one of the following:
1) an error is causing the app to terminate (I've been running in debug
but no errors are reported!)
2) the forms are somehow going out of scope!?
If anyone could supply me with some helpful pointers I'd be most
grateful
Simon