Is there a built in VB command that converts a Boolean value into a Byte value? I've made my own function ...
VB Code:
  1. Private Function bool(ByVal var As Boolean) As Byte
  2.     If var = True Then
  3.         bool = 1
  4.     Else
  5.         bool = 0
  6.     End If
  7. End Function
... but I'd prefer to use a built in command. Any? Thanks.