Hey!
Thanks!

I looked at the UDF, and from that I pulled this (which seems to work) \:\)

 Code:
; ******************************************************
Function ByteArray($array)
  Dim $stream, $i

  $stream = CreateObject("ADODB.Stream")
  If @error
    Exit @error
  EndIf

  $stream.Type = 2
  $stream.CharSet = "windows-1252"
  $stream.Open

  For $i=0 to Ubound($array)
    $stream.WriteText(Chr(Val("&"+$array[$i])))
  Next

  $stream.Position = 0
  $stream.Type = 1
  $ByteArray = $stream.Read
  $stream.Close
Endfunction
; ****************************************************** 


However I'm stuck at the translation of the vb-code in the form for the scanner.
I'll start a new thread since this is now about the code, not DynaWrap.

Thanks again!

/Viggen


The new thread is here...


Edited by Viggen (2009-08-10 05:55 PM)
Edit Reason: added link to the new thread