473,326 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Is there a pause command?

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
4 5193
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
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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
by: da Vinci | last post by:
OK, this has got to be a simple one and yet I cannot find the answer in my textbook. How can I get a simple pause after an output line, that simply waits for any key to be pressed to move on? ...
11
by: Paminu | last post by:
Is there something like system("PAUSE") for linux?
8
by: Wim | last post by:
My GUI application starts a process (a console program) when the user hits Play. I would like to add an option to pause that process. The code I've added to detect if the user hit pause/unpause...
1
by: Dan Williams | last post by:
Does anyone know if its possible to pause the console output if my console app tries to write data past the current command prompt buffer? In other words, behave much like the 'more' command, in...
38
by: Jackie | last post by:
I just want the programme to stop for a while. Thanks.
6
by: Peted | last post by:
Hi wondering what is the best way to do this Need a user to click a button, that sends 3 or 4 string based commands via a TCP/ip socket link I can connect to the ip device no problems, am...
8
by: Lloydm | last post by:
I've used the command "pause" in batch files which works ok but I guess it's applied dirrently in c++. Using Dev C++ 4.0 and the following is my code #include<iostream> #include<iomanip>...
5
by: Baski | last post by:
Hi, I am using db2 9 CLP. When the output of the select command is more than a page the messages scrolls out of the page. Is it possible to pause the messages so that they can be viewed one page...
6
by: abie16 | last post by:
Hello All, I have created a page with timer for the employee. They need to click start and stop button when doing their work. I want to have a pause button so when they going for break or anything...
19
by: dave.zoltan | last post by:
Hi everybody, I am awfully new to programming in C and all I have had to work with so far have been tutorials that I've found online. In my searching, however, I have not found a solution to a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.