Results 1 to 12 of 12

Thread: [RESOLVED][2008]Infinite Loop (I need one)...

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2008
    Posts
    74

    Resolved [RESOLVED][2008]Infinite Loop (I need one)...

    I dont get it now, all Infinite Loop codes I tried, are crashing my app.

    question: is there a way to do this? Any other way except using a timer ?

    so basically I dont want to press buttons, instead ill let it run in a loop & if i enter new value it will be calculated automatically
    Code:
            While 1
    
           System.Threading.Thread.Sleep(200)
            Dim var As Integer = TextBox1.Text * 2
            TextBox2.Text = var
    
            End While

    EDIT: Solution: Use timers, you cant infinite loop in V.b
    Last edited by goldenix; Apr 29th, 2008 at 03:32 AM.

    M.V.B. 2008 Express Edition

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width