VB 6 Type Casting

Type casting in VB 6 means converting from one data type to another. The VB 6 language allows type conversion using functions.

Advertisements
Advertisements

Here is a list of functions with their description.

FunctionDescription
ChrANSI to string
Format, LCase, UCaseString to Lowercase or Uppercase
DateSerial, DateValueDate to Serial Number
Hex, OctDecimal to Hexadecimal or Oct
Format, StrNumber to Str
CBool, CInt, CByte, CLng,CCur, CDate, CDec, CSng, CVar, CStr,CVErr,CDbl, Fix, IntConvert from a data type to another
Day, Month, Weekday, YearDate to Day, Month, Weekday, or Year
Hour, Minute, SecondTime to Hour, Minute, or Second
AscString to ASCII value
TimeSerial, TimeValueTime to Serial number
ValString to number
Advertisements

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.