Best way to SLEEP

  • Thread starter Thread starter BobRoyAce
  • Start date Start date
B

BobRoyAce

I have a splash form that shows while certain things are done before bringing up the Main form. At the end of that, I show a few messages, pausing forhalf a second between each one. I was targeting .Net Framework 3.5 and using the Sleep function [Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)]. But, now that I am targeting .Net Framework 4.0, thatdoesn't work anymore. How can I accomplish this in .Net Framework 4.0?
 
Back
Top