Earl
Thu Aug 11 22:17:00 CDT 2005
You have a recommendation on which event to fire this in? Obviously, I could
do the check when a user presses a button, but I'd much rather do it while
the form is loading. I've experimented a bit with this and none of the Form
events seem appropriate.
"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:O9jRr7NlFHA.2860@TK2MSFTNGP15.phx.gbl...
> Try a connect (embedded in try/catch block).
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> www.rthand.com
> Blog:
http://cs.rthand.com/blogs/blog_with_righthand/
> SLODUG - Slovene Developer Users Group www.codezone-si.info
>
> "Earl" <brikshoe@newsgroups.nospam> wrote in message
> news:uvtO72NlFHA.1048@tk2msftngp13.phx.gbl...
>> When I load the startup form, I want to make a check to ensure the named
>> server AND database (SQL2k) is available before trying to load any data.
>> Any recommendations?
>>
>
>