Re: Show progressbar while connecting.....
- From: Tim Van Wassenhove <timvw@xxxxxxxxxxxxxxxx>
- Date: Wed, 23 May 2007 18:48:09 +0200
Luc schreef:
Dear,
I've wrote a small application which attach a mdf file to a local SQL express server for reporting purposes.
My question: while connecting the mdf file to server I want to show a progressbar to the user, since attaching a database is time consuming and takes 10 to 20 seconds.
I find the easiest approach to set the Style property of the ProgressBar to Marquee.. Make the ProgressBar visible, call BeginReader and pass in a delegate that makes the ProgressBar invisible once the call has completed...
--
Tim Van Wassenhove - Read my mind <url:http://www.timvw.be/>
.
- Prev by Date: inheriting abstract usercontrol properties not hiding
- Next by Date: Re: inheriting abstract usercontrol properties not hiding
- Previous by thread: inheriting abstract usercontrol properties not hiding
- Next by thread: Re: Show progressbar while connecting.....
- Index(es):
Relevant Pages
|