i have a code that takes code from a textbox and line by line adds each line to a listbox, the problem i run into is that if your running the command it freezes the whole program until it is complete. i want to create a pause button on the form but the program thread priority is so high that all other events on the form are obsolete. so i cannot click the pause button.
i am used to visual basic 6 where i can put a simple
pause(.05) in the loop function to prevent the process from simply locking out other user events on the form.
is there a way to do this in vb.net?
i am used to visual basic 6 where i can put a simple
pause(.05) in the loop function to prevent the process from simply locking out other user events on the form.
is there a way to do this in vb.net?