By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,786 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

Is there a pause command?

P: n/a
I need to pause one second here-|
|
|
Try |
<--------------------
conn.Open()
Dim sqlInsertCommand2 As New SqlCommand(sqlstr, conn)

How can I do that please?
thanks,
Trint

.Net programmer
tr********@hotmail.com

.Net programmer
tr********@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
System.Threading.CurrentThread.Sleep(1000)
"Trint Smith" <tr********@hotmail.com> wrote in message
news:es**************@tk2msftngp13.phx.gbl...
I need to pause one second here-|
|
|
Try |
<--------------------
conn.Open()
Dim sqlInsertCommand2 As New SqlCommand(sqlstr, conn)

How can I do that please?
thanks,
Trint

Net programmer
tr********@hotmail.com

Net programmer
tr********@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #2

P: n/a
By more of a question is WHY do they NEED to sleep there for 1 second?

???

"Bryan Martin" <sp**@ahwayside.com> wrote in message
news:e#**************@TK2MSFTNGP11.phx.gbl...
System.Threading.CurrentThread.Sleep(1000)
"Trint Smith" <tr********@hotmail.com> wrote in message
news:es**************@tk2msftngp13.phx.gbl...
I need to pause one second here-|
|
|
Try |
<--------------------
conn.Open()
Dim sqlInsertCommand2 As New SqlCommand(sqlstr, conn)

How can I do that please?
thanks,
Trint

Net programmer
tr********@hotmail.com

Net programmer
tr********@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 20 '05 #3

P: n/a
I found this , hope it helps

Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Try
Sleep 1000
conn.Open()
Dim sqlInsertCommand2 As New SqlCommand(sqlstr, conn)


"Trint Smith" <tr********@hotmail.com> wrote in message
news:es**************@tk2msftngp13.phx.gbl...
I need to pause one second here-|
|
|
Try |
<--------------------
conn.Open()
Dim sqlInsertCommand2 As New SqlCommand(sqlstr, conn)

How can I do that please?
thanks,
Trint

Net programmer
tr********@hotmail.com

Net programmer
tr********@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #4

P: n/a
"Trint Smith" <tr********@hotmail.com> schrieb
I need to pause one second here-|
|
|
Try |
<--------------------
conn.Open()
Dim sqlInsertCommand2 As New SqlCommand(sqlstr, conn)

How can I do that please?


System.Threading.Thread.Sleep(1000)
--
Armin

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.