M
.:: MaStErDoN ::.
Hi,
i'm "translating" som C# code to VB.net and when i need change:
const int BufferSize=10240;
byte[] buffer=new byte[BufferSize];
i try with:
Const BufferSize As Int64 = 10240
Dim buffer As Byte = New Byte(BufferSize)
But "New Byte(BufferSize) gets underlined with the error "The Byte type
doesn't have any constructor". So is it possible to change it into VB.Net.
I'm using it into an Download Manager and it's very important because Buffer
is where the program read and write de data.
If anyone knows and example of this problem with the byte or something
similar i'll be very please
Thanks! (Sorry my English, i'm Argentinian)
i'm "translating" som C# code to VB.net and when i need change:
const int BufferSize=10240;
byte[] buffer=new byte[BufferSize];
i try with:
Const BufferSize As Int64 = 10240
Dim buffer As Byte = New Byte(BufferSize)
But "New Byte(BufferSize) gets underlined with the error "The Byte type
doesn't have any constructor". So is it possible to change it into VB.Net.
I'm using it into an Download Manager and it's very important because Buffer
is where the program read and write de data.
If anyone knows and example of this problem with the byte or something
similar i'll be very please
Thanks! (Sorry my English, i'm Argentinian)