Click here to Skip to main content
16,008,299 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: ProgressBar Thread Pin
ScottM13-Jun-07 23:59
ScottM13-Jun-07 23:59 
GeneralRe: ProgressBar Thread Pin
Christian Graus4-Jun-07 0:09
protectorChristian Graus4-Jun-07 0:09 
GeneralRe: ProgressBar Thread Pin
ScottM14-Jun-07 0:22
ScottM14-Jun-07 0:22 
GeneralRe: ProgressBar Thread Pin
Christian Graus4-Jun-07 0:25
protectorChristian Graus4-Jun-07 0:25 
GeneralRe: ProgressBar Thread Pin
ayeleteric4-Jun-07 0:00
ayeleteric4-Jun-07 0:00 
GeneralRe: ProgressBar Thread Pin
Christian Graus4-Jun-07 0:12
protectorChristian Graus4-Jun-07 0:12 
GeneralRe: ProgressBar Thread Pin
ayeleteric4-Jun-07 0:16
ayeleteric4-Jun-07 0:16 
GeneralRe: ProgressBar Thread Pin
Christian Graus4-Jun-07 0:30
protectorChristian Graus4-Jun-07 0:30 
Your code makes no sense at all - your progress bar is running in a different thread to the thing you're tracking progress on. The thread that's adding to the listbox, should be the thread that runs the progress bar, otherwise there's no relationship between the progress made and the state of the bar.

The code also calls a thread, outside of a loop, which will just step the progress bar once. And then it stops a timer, which we can't even see.

Overall, this code shows every sign of you're being well out of your depth with the concepts you are playing with, I'd recommend working through a decent book and trying to learn some basics.


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 )

GeneralRe: ProgressBar Thread Pin
ayeleteric4-Jun-07 3:28
ayeleteric4-Jun-07 3:28 
GeneralRe: ProgressBar Thread Pin
ScottM14-Jun-07 0:17
ScottM14-Jun-07 0:17 
GeneralRe: ProgressBar Thread Pin
ayeleteric4-Jun-07 0:20
ayeleteric4-Jun-07 0:20 
QuestionJust in Time Error Pin
Vimalsoft(Pty) Ltd3-Jun-07 19:44
professionalVimalsoft(Pty) Ltd3-Jun-07 19:44 
AnswerRe: Just in Time Error Pin
Christian Graus3-Jun-07 20:27
protectorChristian Graus3-Jun-07 20:27 
AnswerRe: Just in Time Error Pin
Navneet Hegde3-Jun-07 20:48
Navneet Hegde3-Jun-07 20:48 
GeneralRe: Just in Time Error Pin
Vimalsoft(Pty) Ltd3-Jun-07 23:42
professionalVimalsoft(Pty) Ltd3-Jun-07 23:42 
Questionis there any code to change macro security mode.. Pin
koolprasad20033-Jun-07 18:43
professionalkoolprasad20033-Jun-07 18:43 
AnswerRe: is there any code to change macro security mode.. Pin
Johan Hakkesteegt8-Jun-07 2:45
Johan Hakkesteegt8-Jun-07 2:45 
Questiontextboxes in datagridview Pin
Sonia Gupta3-Jun-07 18:05
Sonia Gupta3-Jun-07 18:05 
AnswerRe: textboxes in datagridview Pin
Dave Kreskowiak4-Jun-07 3:29
mveDave Kreskowiak4-Jun-07 3:29 
QuestionCreate word document based on existing template Pin
Mekong River3-Jun-07 17:49
Mekong River3-Jun-07 17:49 
QuestionAdd dll control at runtime Pin
smithdb3-Jun-07 5:53
smithdb3-Jun-07 5:53 
AnswerRe: Add dll control at runtime Pin
Tamimi - Code3-Jun-07 22:51
Tamimi - Code3-Jun-07 22:51 
Questionhow do i edit a selected row in datagrid? Pin
sathyan_82943-Jun-07 3:56
sathyan_82943-Jun-07 3:56 
AnswerRe: how do i edit a selected row in datagrid? Pin
Rupesh Kumar Swami3-Jun-07 20:59
Rupesh Kumar Swami3-Jun-07 20:59 
QuestionNeed help for a simple tile puzzle game Pin
marshmayllow3-Jun-07 2:58
marshmayllow3-Jun-07 2:58 

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.