From: Armin Zingler on
"Rob" <rwchome(a)comcast.net> schrieb
> Thanks Armin...
>
> I see that the code shown in the listing has been auto generated by
> Windows....
> So, if I have a button on frmMain and I wanted to "re-initialize"
> frmMain, what code would I add to the on click event of a button
> designed to do this ?


I only provided the link and am not further involved in this issue. ;-)


Armin
From: Ken Halter on
"Rob" <rwchome(a)comcast.net> wrote in message
news:ntidnUiBKsZvOjfeRVn-tg(a)comcast.com...
> Thanks Armin...
>
> I see that the code shown in the listing has been auto generated by
> Windows....
> So, if I have a button on frmMain and I wanted to "re-initialize" frmMain,
> what code would I add to the on click event of a button designed to do
> this ?

Unless I'm missing something, wouldn't it be extremely easy to move the code
from Form_Load into its own procedure and call that proc from anywhere you'd
like?

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..