Check box is a very useful control in Visual Basic 2012. It allows the user to select one or more items by checking the check box or check boxes concerned. For example, in the Font dialog box of any Microsoft Text editor like FrontPage, there are many check boxes under the Effects section such as that shown in the diagram below. The user can choose underline, subscript, small caps, superscript, blink and etc. In Visual Basic 2012, you may create a shopping cart where the user can click on check boxes that correspond to the items they intend to buy, and the total payment can be computed
Author: Liew Voon Kiong
Creating a Scientific Calculator
In Visual Basic, we can create a calculator that resembles a typical scientific calculator , albeit a simpler version. In our version, we have only included the trigonometric functions and the logarithmic functions. The reason of creating a simpler version of the calculator is to help users to learn the programming concepts in a gradual manner and not to confuse them especially those who are learning to program in Visual Basic.
String Manipulation in Visual Basic 2012
In Visual Basic 2012, strings can be manipulated using the & sign and the + sign, both perform the string concatenation which means combining two or more smaller strings into larger strings. For example, we can join “Visual” ,”Basic” and “2012″ into “Visual Basic 2012″ using “Visual”&”Basic” or “Visual “+”Basic”
Our newest E-Book, Visual Basic Sample Codes is Finally Launched!
Visual Basic Samples Codes is the Latest eBook written by the webmaster of our Visual Basic 2010 Tutorial , Dr.Liew. It comprises 258 pages of contents and 48 Interesting Sample Codes. All the examples are explained in great details using easy- to-understand language and illustrated with Lovely Images. On top of that , you can download the SOURCE CODE of every sample in the book! By reading the book and running the sample source code, you will be able to master Visual Basic programming effortlessly!
Please follow the link below to find out more about the book:
http://www.vbtutor.net/index.php/visual-basic-sample-codes-e-book/
New Publication- Visual Basic Sample Codes
I have just finished writing the draft of the book, Visual Basic Sample Codes. Now it is undergoing the process of editing and once it is done, the e-book version will be available for sale. The estimated period of e-book publication will be in about a week time. The actual sample codes will be available for download too as it is bundled with the e-book.
This book comprises 258 pages. Here is a glance of the contents:
1. Games and Fun.. 1
1.1 Simple Animated Slot Machine. 1
1.2 Advanced Animated Slot Machine. 4
1.3 Professional Casino Slot Machine. 12
1.4 Dice. 21
1.5 Jigsaw Puzzle. 24
1.6 Memory Game. 28
1.7 Passwords Cracking Program… 31
1.8 Reversi. 37
1.9 Snakes and Ladders Game. 61
1.10 Star War Game. 76
1.11 Tic Tac Toe. 85
1.12 Time Bomb.. 91
1.13 Lucky Draw… 94
1.14 Boggle. 96
2. Educational Programs. 99
2.1 Kid’s Math.. 99
2.2 Pythagorean Theorem… 109
2.3 Factors Finder.. 111
2.4 Prime Number Tester.. 112
2.5 Geometric Progression.. 114
2.6 Kid’s Math.. 116
2.7 Maximum Number Calculator.. 122
2.8 Quadratic Equation Solver.. 124
2.9 Quadratic Functions Graph Plotter.. 127
2.10 Simultaneous Equations Solvers. 129
2.11. The Sine Rule. 132
2.12 Factors Finder.. 135
2.13 Projectile. 137
2.14 Simple Harmonic Motion.. 139
3. Financial Programs. 141
3.1 Amortization Calculator.. 141
3.2 Depreciation Calculator.. 144
3.3 Future Value Calculator.. 146
3.4 Investments Calculator.. 148
3.5 Payback Period Calculator.. 150
4. Graphics Programs. 152
4.1 Drawing Pad.. 152
4.2 Picture Viewer.. 156
5 Multimedia Programs. 162
5.1 Creating a DVD Player.. 162
5.2 A Smart Audio Player.. 165
5.3 Multimedia Player.. 172
6 Tools and Utilities. 178
6.1 BMI Calculator.. 178
6.2 Calculator.. 180
6.3 Digital Clock.. 190
6.4 Polling System… 191
6.5 Digital Stopwatch.. 194
6.6 Choice Selection Program… 202
7 Database Applications. 204
7.1 Simple Database Management System… 204
7.2 A Simple Database Application.. 208
7.3 A Library Management System… 212
7.4 Inventory Management System… 230
8. Internet Applications. 254
8.1 Webbrowser.. 254
8.2 FTP Program… 258