Re: Show progressbar while connecting.....



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/>
.



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • RE: MS SQL MDF FILE
    ... can attach any MDF files to. ... Subject: MS SQL MDF FILE ... >one of the DB Server. ... If you have received this communication in ...
    (Pen-Test)
  • Re: The Sci-Fi Rejection Letter That Time Forgot
    ... nations have stockpiled arsenals of these incredible bombs and the time the story is set. ...
    (rec.arts.sf.written)
  • Copy files and progressbar
    ... I want to copy a file from a server to a local machine. ... The process should be shown displayed by a progressbar. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: copied music cds have a skip in last 18 seconds
    ... If installing all missing Windows Updates doesn't fix your problem ... xiowan.......in tucson ...
    (microsoft.public.windows.mediacenter)

Quantcast