Wait In Vb

[Solved] Wait In Vb | Vb - Code Explorer | yomemimo.com
Question : wait in vb

Answered by : andreas-leonidou

Imports System.Threading
Module Module1 Sub Main(ByVal args As String()) Dim ts As TimeSpan ts = New TimeSpan(0, 0, 1.5) Console.WriteLine("Waiting for 1.5 seconds...") Thread.Sleep(ts) 'Pause for duration specified in ts ts = New TimeSpan(0, 0, 4) Console.WriteLine("Waiting for 4 seconds...") Thread.Sleep(ts) 'Pause for duration specified in ts End Sub
End Module

Source : | Last Update : Fri, 20 May 22

Answers related to wait in vb

Code Explorer Popular Question For Vb