VB 6 Type Casting

Advertisements
Advertisements

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

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

Visual Basic 6.0 Programming by Examples Kindle Edition

Visual Basic is one of the easiest to learn computer programming language.
Yes, it is obsolete, but all MS Office products include VBA (Visual Basic for Application) and if you learn VB, you will know VBA!
In my tutorial, I used VB 6 to explain step by step how to create a simple Visual Basic Application and a relatively complex one (a Patient Management system) that is using a database. A patient Management application source code is explained in detail.
You will learn how to design and create a database in MS Access and how to create tables and queries.
The book includes a sample application that shows how to use Windows API function.
You will learn how to convert VB program that can be run only in Visual Basic development environment to a distributable application that can be installed on any client computer.
For illustration, I included 128 screenshot images and links to a video.
You will be able to download from my website complete source code for 7 Visual Basic projects including a Password Keeper, a Patient Management and a Billing Management application.
Get Your Copy Today!

Advertisements
Advertisements
Advertisements