I have certain conditions that I check during the Load event and would like
to display a MessageBox. I tried doing this in the Activated event, but
can't do it here.

Is there an event that I can use to display the error?

Re: When can I use a MessageBox? by hirf-spam-me-here

hirf-spam-me-here
Wed Feb 11 15:31:40 CST 2004

* "Top Gun" <nfr@nospam.com> scripsit:
> I have certain conditions that I check during the Load event and would like
> to display a MessageBox. I tried doing this in the Activated event, but
> can't do it here.
>
> Is there an event that I can use to display the error?

The 'Load' event handler? What's the problem?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Re: When can I use a MessageBox? by Top

Top
Wed Feb 11 16:29:05 CST 2004

Looks like the problem may be related to Microsoft's UIP Application Block.

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OeOduaO8DHA.3880@tk2msftngp13.phx.gbl...
> * "Top Gun" <nfr@nospam.com> scripsit:
> > I have certain conditions that I check during the Load event and would
like
> > to display a MessageBox. I tried doing this in the Activated event, but
> > can't do it here.
> >
> > Is there an event that I can use to display the error?
>
> The 'Load' event handler? What's the problem?
>
> --
> Herfried K. Wagner [MVP]
> <http://www.mvps.org/dotnet>