Method does not have the same signature as delegate

  • Thread starter Thread starter ketia kem
  • Start date Start date
Am 04.03.2010 03:43, schrieb ketia kem:
Dim wsThread As ThreadStart = New ThreadStart(AddressOf readFile.Read_File)

Show us (signature of) readFile.Read_File.
 
ketia said:
Dim wsThread As ThreadStart = New ThreadStart(AddressOf readFile.Read_File)

The ThreadStart delegate has no parameters and no return value, so the
signature of the Read_File method has to be something like:

Public Sub Read_File()
 
Back
Top