Hi

VB Code:
  1. If iLottNo(0) > 0 Then
  2.                     Dim Thread0 As New System.Threading.Thread(AddressOf clsIssueTickets.IssueSeries0)
  3.                     Thread0.Start()
  4.                     If Thread0.Join(4000) Then 'Set time out of thread
  5.                         iStart(0) = clsIssueTickets.iReturnStartNo(0)
  6.                         iEnd(0) = clsIssueTickets.iReturnEndNo(0)
  7.                         If iStart(0) > 0 Then
  8.                             Dim iCtr0 As Integer
  9.                             For iCtr0 = iStart(0) To iEnd(0) Step 100
  10.                                 sOutput = sOutput & iCtr0 & "-09 "
  11.                             Next
  12.                         End If
  13.                     End If
  14.                 End If

code after Thread0.Join(4000) does not executes. why?