System.Threading.Thread.Sleep(50);
Remember though, that doing this in the main GUI thread will block your GUI from updating (it will feel “sluggish”)
Just remove the ;
to make it work for VB.net as well.
More Related Contents:
- How to get ALL child controls of a Windows Forms form of a specific type (Button/Textbox)?
- How to write Unicode characters to the console?
- Why is there a default instance of every form in VB.Net but not in C#?
- Why is it bad to use an iteration variable in a lambda expression
- What is the C# version of VB.net’s InputDialog?
- Single Form Hide on Startup
- Is it possible to write to the console in colour in .NET?
- With block equivalent in C#?
- How do I get a human-readable file size in bytes abbreviation using .NET?
- Why use String.Format? [duplicate]
- Using statement vs. IDisposable.Dispose()
- Check if a string contains an element from a list (of strings)
- How do I filter all HTML tags except a certain whitelist?
- What are the benefits of resource(.resx) files?
- GC.Collect()
- Get the final generated html source using c# or vb.net
- Binding property to control in Winforms
- Sorting an array of folder names like Windows Explorer (Numerically and Alphabetically) – VB.NET
- How does async works in C#?
- String.Format – how it works and how to implement custom formatstrings
- Get Component’s Parent Form
- Exposing Property as Variant in .NET for Interop
- Return to an already open application when a user tries to open a new instance
- Conversion tool comparisons for visual basic 6.0 [closed]
- Marking A Class Static in VB.NET
- How to check if the system audio is muted?
- Validating Recaptcha 2 (No CAPTCHA reCAPTCHA) in ASP.NET’s server side
- How does the “Using” statement translate from C# to VB?
- Objects implicitly instantiated in vb.net?
- How do I make a form modal in Windows Forms?