Hi,
I would like to call a PB Function from an VB Application.
The VB aplication should carry on with its work, and the PB function should run parallel.
The VB app calls then a PB stop function, and the previosly started PB function should come to an end.
Symbolic Example:
VB Code:
Sub Main()
....
PBDoSomething 'Ansync call to the PB Function
.....
.....
PBStopWithDoSomething
End Sub()
PB Code:
Private Stop As Boolean
Sub PBDoSomething()
Do
....
Loop Until Stop
End Sub
Sub PBStopWithDoSomething()
Stop = True
End Sub
Is this possible???
Greg
------------------
I would like to call a PB Function from an VB Application.
The VB aplication should carry on with its work, and the PB function should run parallel.
The VB app calls then a PB stop function, and the previosly started PB function should come to an end.
Symbolic Example:
VB Code:
Sub Main()
....
PBDoSomething 'Ansync call to the PB Function
.....
.....
PBStopWithDoSomething
End Sub()
PB Code:
Private Stop As Boolean
Sub PBDoSomething()
Do
....
Loop Until Stop
End Sub
Sub PBStopWithDoSomething()
Stop = True
End Sub
Is this possible???
Greg
------------------
Comment