
Program takes 30 seconds to shutdown
Quote:
>>What kind of objects need to be set
>>to nothing? I have lots of controls, on different forms.
>Controls should be unloaded with the form, so no special precautions are
>necessary besides with Timer controls, and perhaps Data controls, where you
>can close the database before Unload. Perhaps also OLE containers can be
>emptied. But you cannot set a control to Nothing, I think, and it's never
>required.
>DoDi
Also when you create a form, let's say, and want to destroy that
object.. It would be something like:
Dim oNewForm as New frmMain
oNewForm.Text1.Text = "Sending without seeing the form load.."
oNewForm.Show 1
MsgBox oNewForm.Text1.Text
oNewForm = Nothing
L8r,
Chizl - CEO
Karland International
www.karland.com