Best way to SLEEP



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?

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question