Click here to Skip to main content
15,928,662 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: progress bar Pin
charchabil0328-May-07 1:35
charchabil0328-May-07 1:35 
GeneralRe: progress bar Pin
Xandip28-May-07 2:45
Xandip28-May-07 2:45 
GeneralRe: progress bar Pin
Dave Kreskowiak28-May-07 6:16
mveDave Kreskowiak28-May-07 6:16 
GeneralRe: progress bar Pin
Christian Graus28-May-07 11:00
protectorChristian Graus28-May-07 11:00 
GeneralRe: progress bar Pin
Xandip28-May-07 17:56
Xandip28-May-07 17:56 
GeneralRe: progress bar Pin
Xandip28-May-07 1:31
Xandip28-May-07 1:31 
GeneralRe: progress bar Pin
charchabil0328-May-07 1:34
charchabil0328-May-07 1:34 
GeneralRe: progress bar Pin
Christian Graus28-May-07 1:39
protectorChristian Graus28-May-07 1:39 
So use the BackgroundWorker class to do this in a thread, and in it's finished event, hide the progress bar. Your only other problem is, do you also disable the rest of the UI during the call ? The easiest way to do that is have a modal call on a progress dialog, which calls the thread, and then closes itself when the call is done.



Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionFade out effect in my form...?? Pin
Xandip27-May-07 23:11
Xandip27-May-07 23:11 
AnswerRe: Fade out effect in my form...?? Pin
Christian Graus27-May-07 23:40
protectorChristian Graus27-May-07 23:40 
GeneralRe: Fade out effect in my form...?? Pin
Xandip27-May-07 23:53
Xandip27-May-07 23:53 
GeneralRe: Fade out effect in my form...?? Pin
Christian Graus28-May-07 0:02
protectorChristian Graus28-May-07 0:02 
GeneralRe: Fade out effect in my form...?? Pin
Xandip28-May-07 0:12
Xandip28-May-07 0:12 
GeneralRe: Fade out effect in my form...?? Pin
Robert Rohde28-May-07 0:14
Robert Rohde28-May-07 0:14 
GeneralRe: Fade out effect in my form...?? Pin
Xandip28-May-07 0:25
Xandip28-May-07 0:25 
GeneralRe: Fade out effect in my form...?? Pin
Dave Kreskowiak28-May-07 6:13
mveDave Kreskowiak28-May-07 6:13 
GeneralRe: Fade out effect in my form...?? Pin
Christian Graus28-May-07 0:15
protectorChristian Graus28-May-07 0:15 
GeneralRe: Fade out effect in my form...?? Pin
Dileep_Vickey28-May-07 1:40
Dileep_Vickey28-May-07 1:40 
GeneralRe: Fade out effect in my form...?? Pin
Dave Kreskowiak28-May-07 6:12
mveDave Kreskowiak28-May-07 6:12 
GeneralRe: Fade out effect in my form...?? Pin
Christian Graus28-May-07 11:08
protectorChristian Graus28-May-07 11:08 
AnswerRe: Fade out effect in my form...?? Pin
Kiran Kumar B29-May-07 18:46
Kiran Kumar B29-May-07 18:46 
Questiontext file in VB Pin
jenans27-May-07 23:06
jenans27-May-07 23:06 
AnswerRe: text file in VB Pin
Xandip27-May-07 23:23
Xandip27-May-07 23:23 
GeneralRe: text file in VB Pin
jenans28-May-07 18:36
jenans28-May-07 18:36 
AnswerRe: text file in VB Pin
Christian Graus27-May-07 23:41
protectorChristian Graus27-May-07 23:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.