VB.Net & LZO.Net

05/25/2013 23:57 .RazerX#1
Hello Epvp...

Has Anyone Worked With The Lzo .Net Library ? I Found It Here

I Am Trying To Make A Small Program In VB 10 But I Always Have Error...

Here Is The Code I Use:

PHP Code:
Dim lzo As Lzo.LZOCompressor

 
Public Sub Compress_File(ByRef File_Location As StringByRef Output_Location As String)
        
Dim Loaded_Bytes As Byte() = My.Computer.FileSystem.ReadAllBytes(File_Location)
        
Dim Output_Bytes As Byte() = lzo.Compress(Loaded_Bytes)
        
My.Computer.FileSystem.WriteAllBytes(Output_LocationOutput_BytesTrue)
    
End Sub 
But Always An Error Occures!

What Am I Doing Wrong???

Thank You In Advance!
05/26/2013 00:58 BigJk#2
Code:
Dim lzo As New Lzo.LZOCompressor
You forgot the NEW ;)
05/26/2013 01:17 .RazerX#3


OK Guys I Found The Error! I Fixed This!

#Close Request! :)