My special thanks go to my children Xiang, Yi and Xun. My daughter Xiang edited this book while my sons Yi and Xun contributed their ideas and even wrote some of the sample programs for this book. I would also like to appreciate the support provided by my beloved wife Kim Huang and my youngest daughter Yuan. I would also like to thank the million of visitors to my Visual Basic Tutorial Website at www.
|Published (Last):||4 April 2007|
|PDF File Size:||12.7 Mb|
|ePub File Size:||1.63 Mb|
|Price:||Free* [*Free Regsitration Required]|
My special thanks go to my children Xiang, Yi and Xun. My daughter Xiang edited this book while my sons Yi and Xun contributed their ideas and even wrote some of the sample programs for this book. I would also like to appreciate the support provided by my beloved wife Kim Huang and my youngest daughter Yuan.
I would also like to thank the million of visitors to my Visual Basic Tutorial Website at www. Finally, I would like to thank my publisher BookSurge for the guidance and assistance in producing this book. About the Author Dr. Liew Voon Kiong holds a bachelor degree in mathematics, a master degree in management and a doctoral degree in business administration.
He has been involved in programming for more than 15 years. He created the popular online Visual Basic Tutorial at www. In order to provide more support for the Visual Basic hobbyists, he has written this book based on the Visual Basic tutorial. Next Loop 54 The program codes in Visual Basic resemble the English language.
Visual Basic is a fairly easy programming language to learn and it is for anybody who is interested in programming but lack professional training in software engineering. Learning VB will help young children to improve their logical thinking skills and develop their minds. You can choose to program in VB purely for fun and enjoyment or you can create more advanced applications such as educational courseware and commercial software.
In old BASIC, you have to write a text-based procedure to design the interface, but Visual Basic enables you to design the interface by dragging and resizing the objects as well as changing their colors, just like any windows-based programs.
Visual Basic is event-driven because users may click on a certain object randomly, so each object has to be programmed independently to be able to response to those actions events.
Examples of events are clicking a command button, entering text into a text box, selecting an item in a list box etc. You can choose to start a new project, open an existing project or select a list of recently opened programs. A project is a collection of files that make up your application. There are various types of applications that can be created; however, we shall concentrate on creating Standard EXE programs EXE means executable program.
Figure 1. It also has a Toolbox that consists of all the controls essential for developing a VB Application. The controls include text boxes, command buttons, labels, combo boxes, picture boxes, image boxes, timers and other objects that can be dragged to and drawn on the form to perform certain tasks according to the events assigned to them.
You may also add additional objects. First, click on the project item on the menu, then on the components item on the drop-down list, and lastly select the controls you want to use in your program. The controls for Standard. EXE window are shown in Figure 1.
List out all the controls in a Standard. Now, you can try out a few examples in this lesson. Example 2. First of all, you have to launch Microsoft Visual Basic. Normally, a default form Form1 will be available for you to start your new project. Double click on Form1, and the source code window for it as shown in Figure 2. The top of the source code window consists of a list of objects on the left and their associated events or procedures on the right.
In Figure 2. Figure 2. Figure 3. Using a value of 9 to X and a.
Visual Basic 6 Made easy
Liew Voon Kiong holds a bachelor degree in Mathematics, a master degree in Management and a doctoral degree in Business Administration. Shopbop Designer Fashion Brands. Amazon Music Stream millions of songs. In order to provide more support for the Visual Basic hobbyists, he has written this book based on the online Visual Basic tutorial. Looking for beautiful books? Amazon Giveaway allows you liww run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers.