Cover image for Visual basic in easy steps
Title:
Visual basic in easy steps
ISBN:
9781840788723
Edition:
6th ed.
Physical Description:
192 pages : color illustrations ; 23 cm.
General Note:
Previous edition: 2016.

Includes index.
Contents:
Getting started -- Setting properties -- Using controls -- Learning the language -- Building an application -- Solving problems -- Extending the interface -- Scripting with Visual Basic -- Harnessing data -- Employing databases.
Summary:
Learn to create Windows applications using Visual Basic 2019. Code examples, screenshots, and step-by-step instructions illustrate each aspect of Visual Basic, so you'll be creating your own interactive applications in no time! Visual Basic in easy steps, 6th edition gives you code examples, screenshots, and step-by-step instructions that illustrate each aspect of Visual Basic. You need have no previous knowledge of any programming language so it's ideal if you're a newcomer to Windows programming. Each chapter builds your knowledge of Visual Basic. By the end of this book you will have gained a sound understanding of Visual Basic programming and be able to create your own interactive applications. Visual Basic in easy steps, 6th edition has an easy-to-follow style that will appeal to anyone who wants to begin Windows programming. It will appeal to programmers who want to quickly learn the latest Visual Basic techniques, and to the student who is studying computing at school or college, and to those seeking a career in Information Technology who needs a thorough understanding of Visual Basic programming.
Holds:

Available:*

Library
Material Type
Call Number
Item Available
Copies
Status
Searching...
Book 005.268 MCG 1 1
Searching...

On Order

Summary

Summary

Visual Basic in easy steps, 6th edition gives you code examples, screenshots, and step-by-step instructions that illustrate each aspect of Visual Basic so you'll be creating your own interactive applications in no time!.

You need have no previous knowledge of any programming language so it's ideal if you're a newcomer to Windows programming. Each chapter builds your knowledge of Visual Basic. By the end of this book you will have gained a sound understanding of Visual Basic programming and be able to create your own interactive applications.

Visual Basic in easy steps, 6th edition has an easy-to-follow style that will appeal to anyone who wants to begin Windows programming. It will appeal to programmers who want to quickly learn the latest Visual Basic techniques, and to the student who is studying computing at school or college, and to those seeking a career in Information Technology who needs a thorough understanding of Visual Basic programming.


Table of Contents

1 Getting startedp. 7
Introducing Visual Basicp. 8
Installing Visual Studiop. 10
Exploring the IDEp. 12
Starting a new projectp. 14
Adding a visual controlp. 16
Adding functional codep. 18
Saving projectsp. 20
Reopening projectsp. 21
Summaryp. 22
2 Setting propertiesp. 23
Form propertiesp. 24
Meeting the properties editorp. 25
Editing property valuesp. 26
Coding property valuesp. 28
Applying computed valuesp. 30
Applying user valuesp. 32
Prompting for inputp. 34
Specifying dialog propertiesp. 36
Summaryp. 38
3 Using controlsp. 39
Tab orderp. 40
Using Buttonp. 41
Using TextBoxp. 42
Using ComboBoxp. 43
Using Labelp. 44
Using PictureBoxp. 45
Using ListBoxp. 46
Using CheckBoxp. 48
Using RadioButtonp. 49
Using WebBrowserp. 50
Using Timerp. 52
Summaryp. 54
4 Learning the languagep. 55
Elements of a programp. 56
Declaring variable typesp. 58
Understanding variable scopep. 60
Working with variable arraysp. 62
Performing operationsp. 64
Branching codep. 66
Looping codep. 68
Calling object methodsp. 70
Creating a sub methodp. 72
Sending parametersp. 73
Creating a functionp. 74
Doing mathematicsp. 75
Generating a random numberp. 76
Summaryp. 78
5 Building an applicationp. 79
The program planp. 80
Assigning static propertiesp. 82
Designing the interfacep. 84
Initializing dynamic propertiesp. 86
Adding runtime functionalityp. 88
Testing the programp. 90
Deploying the applicationp. 92
Summaryp. 94
6 Solving problemsp. 95
Real-time error detectionp. 96
Fixing compile errorsp. 98
Debugging codep. 100
Setting debug breakpointsp. 102
Detecting runtime errorsp. 104
Catching runtime errorsp. 106
Getting helpp. 108
Summaryp. 110
7 Extending the interfacep. 111
Color, Font & Image dialogsp. 112
Open, Save & Print dialogsp. 114
Creating application menusp. 116
Making menus workp. 118
Adding more formsp. 120
Controlling multiple formsp. 122
Playing soundsp. 124
Playing multimediap. 126
Summaryp. 128
8 Scripting with Visual Basicp. 129
Introducing VBA macrosp. 130
Creating a Word macrop. 132
Creating an Excel macrop. 134
Running advanced macrosp. 136
An introduction to VBScriptp. 138
Enforcing declarationsp. 139
Validating inputp. 140
Merging text filesp. 142
Getting registry datap. 144
Summaryp. 146
9 Harnessing datap. 147
Reading text filesp. 148
Streaming lines of textp. 150
Reading Excel spreadsheetsp. 152
Reading XML filesp. 154
Creating an XML datasetp. 156
Reading RSS feedsp. 158
Addressing XML attributesp. 160
Summaryp. 162
10 Employing databasesp. 163
An introduction to databasesp. 164
Designing a databasep. 166
Creating a databasep. 168
Adding database tablesp. 170
Defining table columnsp. 172
Making table relationshipsp. 174
Entering table datap. 176
Creating a database datasetp. 178
Adding form data controlsp. 180
Binding meaningful datap. 182
Building custom SQL queriesp. 184
Summaryp. 186
Indexp. 187