Home > Software engineering >  When MSGBOX output, how to make the system time to update
When MSGBOX output, how to make the system time to update

Time:09-21



What has happened is that when the output is GOOD, the system time is no longer updated

 Private Sub Command6_Click () 
MsgBox "GOOD"
End Sub

Private Sub Timer1_Timer (Index As an Integer)

Label3. Caption=Now
End Sub

CodePudding user response:

The answer, thank you

CodePudding user response:

Method 1: run the compiled exe,

Method 2: use multithreading, update the time shown in the other operations in a new thread,
However, there is no special requirement, it is not necessary to do so,

CodePudding user response:

Thank the teacher answers, it took me one way,
  • Related