Hello

I want to cause a time dealy or 100ms in the middle of my code. Can anyone help me on how I can achive this.

Thanks

Simon

Use the Thread.Sleep() method.

System.Threading.Thread.Sleep( 100 )

Use the Thread.Sleep() method.

System.Threading.Thread.Sleep( 100 )

Thanks :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.