I'm using VB 4 but I assume form unloading is the same for all versions.
My question is simple: my program loads another form for "preferences" setup and, when the user presses OK, I save changes and unload the form but, of course, it DOESN'T upload since, for some reason, Visual Basic forms never really unload unless you do "Set [myform] = Nothing"
But even when I do set to nothing, it DOES NOT unload since whenever I try to load the form again, the "Form_Load" procedure doesn't fire. It only fires the very first time I load the form. This is driving me crazy. Here is the code I'm using in the unload procedure:
Private Sub Form_Unload(Cancel As Integer)
t = WrapASetup
Set ASetup = Nothing
What am I doing wrong?