as we have delay() function in C/C++ is there any function in Visual Basic?
Is there any way in which timer event can be used to introduce delay?
Please help..
|
Go4Expert Founder
|
![]() |
| 13Aug2007,19:25 | #2 |
|
Use the Sleep function
|
|
Go4Expert Member
|
|
| 18Aug2007,17:13 | #3 |
|
Quote:
Originally Posted by shabbir also, please let me know if i can open other applications (like notepad) using any inbuilt function in vb. please tell me the syntax also. |
|
Go4Expert Founder
|
![]() |
| 18Aug2007,18:43 | #4 |
|
Quote:
Originally Posted by ndakota Code:
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Sub Command1_Click() Debug.Print "Started - " & Time() Sleep 1000 Debug.Print "Ended - " & Time() End Sub Quote:
Originally Posted by ndakota Code:
shell("notepad",1)
|
