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#?
- What is the C# version of VB.net’s InputDialog?
- 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?
- Mixing C# & VB In The Same Project
- Using statement vs. IDisposable.Dispose()
- Difference with Parameters.Add and Parameters.AddWithValue
- Check if a string contains an element from a list (of strings)
- How to flatten nested objects with linq expression
- WebBrowser.DrawToBitmap() or other methods?
- Is String a primitive type?
- Difference between Lookup() and Dictionary(Of list())
- How do I filter all HTML tags except a certain whitelist?
- Install to same path when upgrading application
- BinaryWriter Endian issue
- Check if all items are the same in a List
- Why is there a difference in checking null against a value in VB.NET and C#?
- String.Format – how it works and how to implement custom formatstrings
- 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?
- Remove surrounding whitespace from an image
- Doesn’t C# Extension Methods allow passing parameters by reference?
- How to insert a Symbol (Pound, Euro, Copyright) into a Textbox
- Dynamically changing Textbox’s AutoComplete List causes AccessViolationException, any advice?
- Webbrowser Control Limitations
- What’s the C# equivalent to the With statement in VB? [duplicate]