Ok, I know a funtion can return a byte array:
VB Code:
  1. Private Function Woof() As Byte()
  2.    'Blah Blah
  3. End Function
Now why can't I do this:
VB Code:
  1. Private Function Woof(ByVal Buffer() As Byte) As Byte()
  2.    'Blah Blah
  3. End Function

But...ByRef works!!! Hmmmmmmmmm...any ideas?

Woka