Re: Standard Database Connection Dialog

"R. Rogers" <[email protected]> Mon, 29 Oct 2007 17:24:40 -0400
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <00f101c81a72$1e033620$6800a8c0@Speedster>
Wow,

Thanks for that Peter.
That gives me something to chew on!

Richard
-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps and
controls [mailto:[email protected]] On Behalf Of Peter
Ritchie
Sent: October 29, 2007 2:49 PM
To: [email protected]
Subject: Re: [DOTNET-WINFORMS] Standard Database Connection Dialog

I would suggest using the CredUIPromptForCredentials Win32 function.  It
will present a credential dialog that is consisent to the version of
Windows currently being run.

There's many examples of using that method, like
http://www.developerfusion.co.uk/show/4693/