How to place the a string the big-endian order in Ms Access VBA
I need help to place the order of a string "864"into Big-endian before conversion to binary:
Private Sub Cmdendians_Click()Dim strstrong As String, datastr As Bytedatastr = Len("864")DecimalValue = datastrBinaryValue = DecToBin(DecimalValue, 8)Debug.Print DecToBin(DecimalValue, 8)End Sub
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
Endianess describes the order of bits. Most significant first or last. Normally it also means that we look at bytes ordered by that. Thus it makes only sense for numbers (word, dword, qword).
Thus what's your use-case?
Hankwembo Christopher,FCCA,FZICA,CIA,MAAT,B.A.Sc
ASKER
Thank you Bill Prew for saving me again , you efforts are highly appreciated.
Regards
Chris
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
Endianess describes the order of bits. Most significant first or last. Normally it also means that we look at bytes ordered by that. Thus it makes only sense for numbers (word, dword, qword).
Thus what's your use-case?