Rez Extractor Error

Posts 17 of 7 · Page 1 of 1
Rez Extractor Error
im trying to make a rez extractor

But this code gives error

Code:
 Private Sub ExtractRezFiles(ByVal FileName As String)
        Dim threadd As New ExtractThread With { _
             .FileName = FileName _
         }
  
        Thread(New ThreadStart(AddressOf threadd.Extract)).Start()

    End Sub
Thread is underlined

Thread(New ThreadStart(AddressOf threadd.Extract)).Start()

Code:
Error : Error	1	'Thread' is a type and cannot be used as an expression.	C:\Users\Deicide\documents\visual studio 2010\Projects\WindowsApplication1\WindowsApplication1\Form1.vb	17	9	WindowsApplication1
Dim t as new threading.thread(addressof subname)
t.start
Name space
Code:
Import System.Threading.Thread
im guessing you are trying to decomiple rez xtract? good luck you need more knowledge for that
Read the errors? Thread is a class, how the hell is that code you posted in ANY way related to a use of a class.

As Blubb said, initialize the thread with the "new" keyword, and set its target
omg , .net reflector failed again :/ i nearly fixed 50 errors and its the latest
Quote Originally Posted by aLcohoL_95 View Post
omg , .net reflector failed again :/ i nearly fixed 50 errors and its the latest
.NET Reflector didn't fail. It wasn't designed so that people can just leech source you know.
haha anyway , close thread pls , finally i got source of rez Xtractor >.<
Posts 17 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?