Create a Simple Delay in Your VB Visual Basics Program

About: Attending OU (University of Oklahoma) for a bachelors degree in computer science. I have already obtained and associates in science. I absolutely love working with small electronics, especially programmable ...

In this video I show you how to create a small delay inside your vb program, this can be useful when programming with micro controllers or to space out when your functions take place. There are many applications for this and this can be quite useful at times when you need to pause your program for a split second or even minutes. The program is pictured in the images and is available for download.

File Links:
Please note, you will have to choose to continue with the download and not discard it if using Google chrome since there are executable files.

VB:

http://elitetechok.com/OnlineMaterial/publicfiles/VB%20Delay/Downloads/VB%20Delay.zip

Share

    Recommendations

    • Build a Tool Contest

      Build a Tool Contest
    • Sweet Treats Challenge

      Sweet Treats Challenge
    • Warm and Fuzzy Contest

      Warm and Fuzzy Contest

    2 Discussions

    0
    None
    eglass1

    4 years ago

    That is true, I would suggest using the function way when a very short delay is needed and wouldn't really show/ matter if the interface was unresponsive for that split time.

    Another way to create a delay is using a backgroundworker and putting the thread to sleep for a certain amount of milliseconds. This will keep the interface responsive