How do I convert an Integer value to a Byte Array in Visual Basic 6? I can obviously do this very easily in .NET with the BitConverter, but I couldn't find anything similar in VB6.
2 Answers
This should work for you: http://www.convertdatatypes.com/Convert-Byte-Array-to-Integer-in-VB6-VBA.html
2 Comments
LunchMarble
I am probably just missing it, but where is it specifically that it explains how to convert an integer into a byte array?
luqi
Sorry about that. The answer is fixed now.