I'm using the below code but having little luck even though
it looks right to me:
Dim aForm As Form
For Each aForm In Application.Ope nForms
aForm .Close()
Next
Where should this be? I put it in form_deactivate d() and nothing, same for
form_finalize() .
In VB6 I believe it was form_closing but that's no longer available in
VB.NET.
Thanks,
Adam
it looks right to me:
Dim aForm As Form
For Each aForm In Application.Ope nForms
aForm .Close()
Next
Where should this be? I put it in form_deactivate d() and nothing, same for
form_finalize() .
In VB6 I believe it was form_closing but that's no longer available in
VB.NET.
Thanks,
Adam
Comment