n-generation
asked on
pausing the program.
Is there a way to pause the program and then make it continue say a few seconds later? For example I want to display an image, then I want to hide it after a number of seconds and continue with the rest of the code. I understand this is possible using a timer. Is there any other way in doing this without using a timer?
Thanks!
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Basically, we can use API (Application Programming Interface) to do pause program. Kernel32.dll is the core library that every windows platforms have to doing the regular tasks/jobs for windows operation.
And the function Sleep in Kernel32 is one of the function available in Windows, so that means actually we use external function from VB to do 'what VB cant do'.
Hope this is clear
And the function Sleep in Kernel32 is one of the function available in Windows, so that means actually we use external function from VB to do 'what VB cant do'.
Hope this is clear
ASKER
Thank you so much! Really good explaination. And learnt something new today =)
ASKER