Hi Guys,
Is there any way to loop a database every 10 minutes..then wait for some time and continue again..
Is timer a good idea? will it take a lot of memory to do this?
I know this api function
Which is better..this api or timer?
And another question, this api i used in visual basic..how to convert it so that it works in c#?
Thank you very much
Is there any way to loop a database every 10 minutes..then wait for some time and continue again..
Is timer a good idea? will it take a lot of memory to do this?
I know this api function
Code:
Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long)
Private Sub form load()
Do While "some condition"
"Your code Here"
Sleep 10000
Loop
End Sub
Which is better..this api or timer?
And another question, this api i used in visual basic..how to convert it so that it works in c#?
Thank you very much