I am using the following to try to initiate conversion of a string to a byte array. It isn't working. I'm using VB 5.0. I somehow recall some reference to VB 5.0 not handling some element of the function built into this conversion the same way that VB 6.0 does. I don't recall the specifics. I'm getting a parameter error, which is coming up as Runtime error (80042000). If anyone knows if there is another cause, please let me know ASAP. Thanks. ------------------------------ Private Sub Command6_Click()
Dim NextOffset As Long Dim pUtility As New PDUtility Dim BArray As Variant Dim Value As String Value = "cat" NextOffset = pUtility.BSTRToByteArray(BArray, 0, Value) End Sub -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
