Click here to Skip to main content
15,920,053 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB.NET Properties Pin
programmervb.netc++8-Oct-08 10:21
programmervb.netc++8-Oct-08 10:21 
GeneralRe: VB.NET Properties Pin
Dave Kreskowiak8-Oct-08 12:24
mveDave Kreskowiak8-Oct-08 12:24 
QuestionVB6 Lost Code - DLL Help [modified] Pin
Tim Carmichael8-Oct-08 4:52
Tim Carmichael8-Oct-08 4:52 
GeneralRe: VB6 Lost Code - DLL Help Pin
Chinners8-Oct-08 5:39
Chinners8-Oct-08 5:39 
AnswerRe: VB6 Lost Code - DLL Help Pin
Scott Dorman8-Oct-08 7:44
professionalScott Dorman8-Oct-08 7:44 
AnswerRe: VB6 Lost Code - DLL Help Pin
Jon_Boy8-Oct-08 13:19
Jon_Boy8-Oct-08 13:19 
AnswerRe: VB6 Lost Code - DLL Help Pin
Tim Carmichael9-Oct-08 3:51
Tim Carmichael9-Oct-08 3:51 
QuestionTimer problem with windows service Pin
Ma tju7-Oct-08 21:29
Ma tju7-Oct-08 21:29 
Dear All,
I have set a timer for my windows service using Threading.Timer. I set the interval to 10000 that is 10s before finished its current job. The problem is the oCallback is called every 10000, can someone help me so that the oCallback will not fires before finish it current job.

Dim oCallback As New TimerCallback(AddressOf OnTimedEvent)
oTimer = New System.Threading.Timer(oCallback, Nothing, 0, 10000)

Private Sub OnTimedEvent(ByVal state As Object)
    'need to stop timer..
    EventLog1.WriteEntry("Called")
    System.threading.thread.sleep(20000)' just to delay for 20 sec
    'start timer back
End Sub


Thank you in advance.


awek
Programmer
Subang Jaya,Selangor, Malaysia

AnswerRe: Timer problem with windows service Pin
HemJoshi8-Oct-08 0:04
HemJoshi8-Oct-08 0:04 
AnswerRe: Timer problem with windows service Pin
Dave Kreskowiak8-Oct-08 2:09
mveDave Kreskowiak8-Oct-08 2:09 
GeneralRe: Timer problem with windows service Pin
Ma tju8-Oct-08 18:48
Ma tju8-Oct-08 18:48 
QuestionHow to get the value of dropdown list Pin
meki_21187-Oct-08 20:26
meki_21187-Oct-08 20:26 
AnswerRe: How to get the value of dropdown list Pin
nishkarsh_k8-Oct-08 0:19
nishkarsh_k8-Oct-08 0:19 
GeneralRe: How to get the value of dropdown list Pin
meki_21188-Oct-08 15:29
meki_21188-Oct-08 15:29 
GeneralRe: How to get the value of dropdown list Pin
nishkarsh_k10-Oct-08 22:11
nishkarsh_k10-Oct-08 22:11 
QuestionHow to use Timer control Pin
Johndas7-Oct-08 19:46
Johndas7-Oct-08 19:46 
AnswerRe: How to use Timer control Pin
Rupesh Kumar Swami7-Oct-08 20:05
Rupesh Kumar Swami7-Oct-08 20:05 
GeneralRe: How to use Timer control Pin
Johndas7-Oct-08 20:31
Johndas7-Oct-08 20:31 
Questioni need to make a sha512 Pin
moonshaddow7-Oct-08 18:26
moonshaddow7-Oct-08 18:26 
AnswerRe: i need to make a sha512 Pin
Dave Kreskowiak7-Oct-08 18:44
mveDave Kreskowiak7-Oct-08 18:44 
QuestionRe: i need to make a sha512 Pin
moonshaddow7-Oct-08 19:27
moonshaddow7-Oct-08 19:27 
AnswerRe: i need to make a sha512 Pin
Ashfield7-Oct-08 21:51
Ashfield7-Oct-08 21:51 
AnswerRe: i need to make a sha512 Pin
Dave Kreskowiak8-Oct-08 2:06
mveDave Kreskowiak8-Oct-08 2:06 
AnswerRe: i need to make a sha512 Pin
Mark Churchill8-Oct-08 17:04
Mark Churchill8-Oct-08 17:04 
AnswerRe: i need to make a sha512 Pin
Colin Angus Mackay8-Oct-08 2:12
Colin Angus Mackay8-Oct-08 2:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.