Need Help with program code freezing problems

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #11327
    imFiles
    Member

    😆 wha up peeps, any one had any tips on how to stop a program from freezing, like this program i made

    http://imfiles.com/downloadview-details-294-Satisfaction_Scroller.html#dldetails

    The problem I am having is that when lets say the user chooses the 10 seconds brake between each message, And when the program is in action and they decide to stop it it freezes.

    lol dont know it got to do with some timer thing, like when the process start is hard to stop or some shit, dont know

    so is there some thing i can put like between each message here is the code anyways for the 10 seconds message brake in a timer

    If Check1.Value = 1 Then
    Call RoomSend(RichTextBox1.TextRTF)
    DoEvents
    Sleep 10000
    End If
    If Check2.Value = 1 Then
    Call RoomSend(RichTextBox2.TextRTF)
    DoEvents
    Sleep 10000
    End If
    If Check3.Value = 1 Then
    Call RoomSend(RichTextBox3.TextRTF)
    DoEvents
    Sleep 10000
    End If
    If Check4.Value = 1 Then
    Call RoomSend(RichTextBox4.TextRTF)
    DoEvents
    Sleep 10000
    End If
    If Check5.Value = 1 Then
    Call RoomSend(RichTextBox5.TextRTF)
    DoEvents
    Sleep 10000
    End If

    Thanks 🙂

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.