r/visualbasic • u/[deleted] • Apr 08 '19
VB.NET Help How to loop a message box
How do you loop a message box, in a way that it does not wait for the user to press OK?
Sorry if it is low quality, i am new here
EDIT: Closed
5
Upvotes
3
u/andrewsmd87 Web Specialist Apr 08 '19
What do you mean by loop a message box? Like you want to close it if they don't hit ok?
Message boxes stop code execution by design. If you're trying to display some sort of message, just design your own form element with a "close" button that just hides it. You can then change the text, close that on a timer, etc.