Task Process Started Event - VisualCron - Forum

Community forum

zuvefox
2011-05-12T12:18:08Z
hi..
I run task using visualcron API in Winform VB.net
How to know that task process started using vb.net winform?
and please give me example code in Vb.net

thanx
Support
2011-05-12T12:29:24Z
Hi,

I moved this thread to API forum.

You have all these events in serverObj.Processes.xxx.

For example:

Quote:

AddHandler serverObj.Processes.TaskProcessEnded, AddressOf RemoveTaskProcess

Private Sub RemoveTaskProcess(ByRef server As Server, ByVal pc As VCTaskProcessClass)
If InvokeRequired Then
Dim d As New Processes.DelegateTaskProcessEnded(AddressOf RemoveTaskProcess)
Dim obj(1) As Object
obj(0) = server
obj(1) = pc
BeginInvoke(d, obj)
Else
RemoveTaskProcessRow(pc)
End If
End Sub


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
zuvefox
2011-05-12T12:54:08Z
Scroll to Top