Cor,
"Cor Ligthert [MVP]" <no************@planet.nl> schrieb:
It doesn't really matter where you place the code... :-).
What you think of this
Private sub MyFormClass_load etc
Dim MyForm as New MyFormClass
(it's hidden until you either:)
MyForm.Show
MyForm.ShowDialog
End Sub
What is in your opinion the effect?
Well, you are creating a new instance of a certain form type. If creating
the instance is a costly process, this can be performed when the application
is idle to accelerate showing the form later.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>