I want to implement a time delay in visual basic AND prevent the proceeding lines of code to run until the time delay is satisfied. The delay more or less must pause the programs proceeding code execution until that delay is done.
run a line of code
delay time for 5 seconds
now run this line of code( this line of code will use data from the first line so it is important that this line does not run concurrently with the first line.)