Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 12:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



VB.Net & LZO.Net

Discussion on VB.Net & LZO.Net within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
.RazerX's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 188
Received Thanks: 149
VB.Net & LZO.Net

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!
.RazerX is offline  
Old 05/26/2013, 00:58   #2
 
BigJk's Avatar
 
elite*gold: 681
Join Date: Aug 2010
Posts: 521
Received Thanks: 106
Code:
Dim lzo As New Lzo.LZOCompressor
You forgot the NEW
BigJk is offline  
Thanks
1 User
Old 05/26/2013, 01:17   #3
 
.RazerX's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 188
Received Thanks: 149


OK Guys I Found The Error! I Fixed This!

#Close Request!
.RazerX is offline  
Reply




All times are GMT +2. The time now is 12:14.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.