End Sub Run the program and Command1 will only be enabled when there is text typed into Text1. Byte The Byte data type is an 8-bit variable which can store value from 0 to 255 . This data type is very useful for storing binary data. Double The Double data type is a 64-bit floating point number used when high accuracy is needed. Integers should be used when you are working with values that can not contain fractional numbers.
Long variables can only contain non-fractional integer values.
I myself use Long variables over Integers for increased performance. Most Win32 functions use this data type for this reason. When you need fractional numbers within this range, this is the data type to use. String The String data type is usually used as a variable-length type of variable. A variable-length string can contain up to approximately 2 billion characters.