Experts Exchange connects you with the people and services you need so you can get back to work.
Open in new window
bfore = GetTickCount();
//branch of code goes here
after = GetTickCount();
Execution_time = after - before;//miliseconds
Private Declare Function GetTickCount Lib "kernel32" () As Long
Dim queryExecuteTime As New Stopwatch()
' Place the single line of code that executes the MySQL query here
MessageBox.Show(queryExecuteTime.ElapsedMilliseconds & " milliseconds")
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Be seen. Boost your question’s priority for more expert views and faster solutions