By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,813 Members | 2,351 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,813 IT Pros & Developers. It's quick & easy.

how to do this function

kirubagari
100+
P: 158
04 FF X 04 FF
04 FF X X 04 FF
04 FF X X X 04 FF


X=CAN BE ANY VALUES


Expand|Select|Wrap|Line Numbers
  1.  
  2. Public Function HexByte2Char(ByVal value As Byte) As String
  3. HexByte2Char = IIf(value < &H10, "0", "") & Hex$(value)
  4. End Function
  5.  
  6. Private Sub Command2_Click()
  7. Text1.text = HexByte2Char(&H4) & HexByte2Char(&HFF) & "x" & HexByte2Char(&H4) & HexByte2Char(&HFF)
  8. End Sub
  9.  
  10.  
how to i can declare the x can be any values?
Sep 4 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 5K+
P: 8,434
I don't understand what it is you want the function to do. Could you explain a bit more?
Sep 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.