Click here to Skip to main content
15,890,282 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Modem call and AT commands Pin
Dave Kreskowiak5-Sep-09 9:01
mveDave Kreskowiak5-Sep-09 9:01 
QuestionDelete Command - By Parameter - Problem() Pin
Paramu19734-Sep-09 22:48
Paramu19734-Sep-09 22:48 
AnswerRe: Delete Command - By Parameter - Problem() Pin
Rupesh Kumar Swami5-Sep-09 0:46
Rupesh Kumar Swami5-Sep-09 0:46 
GeneralRe: Delete Command - By Parameter - Problem() Pin
Paramu19735-Sep-09 0:55
Paramu19735-Sep-09 0:55 
GeneralRe: Delete Command - By Parameter - Problem() Pin
Rupesh Kumar Swami5-Sep-09 1:24
Rupesh Kumar Swami5-Sep-09 1:24 
Questionincrease the display rate from web cam Pin
kjsl2k94-Sep-09 18:50
kjsl2k94-Sep-09 18:50 
AnswerRe: increase the display rate from web cam Pin
Dave Kreskowiak5-Sep-09 1:54
mveDave Kreskowiak5-Sep-09 1:54 
QuestionWhy are my status and progress bars not updating Pin
Sonhospa4-Sep-09 13:26
Sonhospa4-Sep-09 13:26 
Hey everybody,

in a MDI window I have a status bar with a ToolStripStatusLabel and a ToolStripProgressbar which I want to use from different forms. For that I use a delegate which calls the ShowProgress function (located in a module).
Public Sub ShowProgress(ByVal Total As Long, ByVal SoFar As Long, ByVal file As String, ByVal Message As String, ByVal Timespan As Integer)
    Dim percent As Long = ((SoFar / Total) * 100)
    'MsgBox(MDIMain.ToolStripStatusLabel.Text)
    MDIMain.ToolStripProgressBar.Value = percent
    MDIMain.ToolStripStatusLabel.Text = percent.ToString & "%"
    MDIMain.ToolStripProgressBar.ProgressBar.Refresh()
End Sub
When I uncomment the MsgBox line I can see that the function is actually called and that the values are assigned. But neither the StatusLabel nor the ProgressBar show anything else than their initial status...

Can someone please tell me what I don't consider here?

Thank you
Mick
AnswerRe: Why are my status and progress bars not updating Pin
Luc Pattyn4-Sep-09 13:45
sitebuilderLuc Pattyn4-Sep-09 13:45 
GeneralRe: Why are my status and progress bars not updating Pin
Sonhospa4-Sep-09 13:56
Sonhospa4-Sep-09 13:56 
GeneralRe: Why are my status and progress bars not updating Pin
Luc Pattyn4-Sep-09 14:15
sitebuilderLuc Pattyn4-Sep-09 14:15 
NewsRe: Why are my status and progress bars not updating Pin
Sonhospa4-Sep-09 14:35
Sonhospa4-Sep-09 14:35 
GeneralRe: Why are my status and progress bars not updating Pin
Christian Graus4-Sep-09 14:45
protectorChristian Graus4-Sep-09 14:45 
GeneralRe: Why are my status and progress bars not updating Pin
Sonhospa4-Sep-09 15:24
Sonhospa4-Sep-09 15:24 
GeneralRe: Why are my status and progress bars not updating [modified] Pin
Luc Pattyn4-Sep-09 15:37
sitebuilderLuc Pattyn4-Sep-09 15:37 
QuestionResizing a control Pin
EliottA4-Sep-09 9:09
EliottA4-Sep-09 9:09 
AnswerRe: Resizing a control Pin
Henry Minute4-Sep-09 10:08
Henry Minute4-Sep-09 10:08 
GeneralRe: Resizing a control Pin
Luc Pattyn4-Sep-09 10:43
sitebuilderLuc Pattyn4-Sep-09 10:43 
GeneralRe: Resizing a control Pin
Henry Minute4-Sep-09 10:52
Henry Minute4-Sep-09 10:52 
GeneralRe: Resizing a control Pin
Luc Pattyn4-Sep-09 11:14
sitebuilderLuc Pattyn4-Sep-09 11:14 
GeneralRe: Resizing a control Pin
Henry Minute4-Sep-09 11:25
Henry Minute4-Sep-09 11:25 
GeneralRe: Resizing a control Pin
Luc Pattyn4-Sep-09 12:19
sitebuilderLuc Pattyn4-Sep-09 12:19 
GeneralRe: Resizing a control Pin
Henry Minute4-Sep-09 12:38
Henry Minute4-Sep-09 12:38 
GeneralRe: Awaiting the language police Pin
Luc Pattyn4-Sep-09 12:52
sitebuilderLuc Pattyn4-Sep-09 12:52 
GeneralRe: Awaiting the language police Pin
Henry Minute4-Sep-09 13:22
Henry Minute4-Sep-09 13:22 

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.