I also noticed that in your formmain's unload event your calling itself to unload again in that procedure creating a circular reference.
Also, switch the event to the Form_QueryUnload event instead. In case your clicking the 'x' at the top right corner to close the app. it will be sure to close and destroy all objects.VB Code:
Private Sub Form_Unload(Cancel As Integer) Unload FormSplash 'Unload FormMain 'Circular ref. Set FormSplash = Nothing Set FormMain = Nothing End Sub





Reply With Quote