Hi
VB Code:
If iLottNo(0) > 0 Then Dim Thread0 As New System.Threading.Thread(AddressOf clsIssueTickets.IssueSeries0) Thread0.Start() If Thread0.Join(4000) Then 'Set time out of thread iStart(0) = clsIssueTickets.iReturnStartNo(0) iEnd(0) = clsIssueTickets.iReturnEndNo(0) If iStart(0) > 0 Then Dim iCtr0 As Integer For iCtr0 = iStart(0) To iEnd(0) Step 100 sOutput = sOutput & iCtr0 & "-09 " Next End If End If End If
code after Thread0.Join(4000) does not executes. why?




Reply With Quote