954,558 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

byte and long conversion in VB

i have a array called arr() of type byte.
one of my function returns an integer long value(val) 4 bytes.
i want devide this value into bytes and assign to arr()
that is
arr(1)=first byte of val
arr(2)=second byte of val
arr(3)=third byte of val
arr(4)=fourth byte of val
thank u in advance

harish13
Newbie Poster
4 posts since Jul 2006
Reputation Points: 10
Solved Threads: 0
 

Found this on Googlel;

http://www.freevbcode.com/ShowCode.asp?ID=2066

any good ?

hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You