Visual Basic .NET

Book description

Visual Basic.NET has been written keeping in mind courses in Visual Programming offered in B.E., B.Tech, BSc (Computer Science), IT BCA, MCA, and professional courses. The book is ideally designed for the beginner to the intermediate level readers

Table of contents

  1. Cover
  2. Title page
  3. Contents
  4. Dedication
  5. Preface
  6. Chapter 1. Getting Started in Visual Basic .NET
    1. 1.1 Welcome to Visual Basic .NET
    2. 1.2 Operating System MS Windows
    3. 1.3 Machine Language and Assembly Language
    4. 1.4 The Procedural Languages
    5. 1.5 Starting Visual Basic .NET
    6. 1.6 Creating and Running the Very First Application
    7. 1.7 Testing a “Stand Alone” Application
    8. 1.8 Dissection of the MyFirst Project
    9. 1.9 Deleting the MyFirst Project
    10. 1.10 Using the Command Window
    11. 1.11 Settings in the Start Page
    12. 1.12 Welcome to Visual Basic .NET 2003
    13. Exercises
    14. Programming Problems
  7. Chapter 2. Welcome to IDE
    1. 2.1 Creating a Shortcut to Start VB.NET
    2. 2.2 What is IDE
    3. 2.3 Opening and Closing Windows and Toolbars
    4. 2.4 Opening an Existing Project
    5. 2.5 Using the Auto Hide Facility
    6. 2.6 Docking and Undocking the Windows
    7. 2.7 Placing a Window at a Suitable Location
    8. 2.8 Resizing a Window
    9. 2.9 Creating a Useful Application
    10. 2.10 Placing the Controls on a Form
    11. 2.11 Selecting a Form and the Controls
    12. 2.12 Resizing a Form and the Controls
    13. 2.13 Relocating the Controls
    14. 2.14 Using the Properties Window
    15. 2.15 Setting the Properties of Form and Controls
    16. 2.16 Using the Solution Explorer
    17. 2.17 Setting the Startup Object
    18. 2.18 Writing an Event Procedure
    19. 2.19 Executing the Hello Project Using Explorer
    20. 2.20 The Tabbed Windows
    21. 2.21 The Hungarian Notation
    22. 2.22 The Standard Toolbar
    23. 2.23 Docking and Undocking Toolbars
    24. Exercises
    25. Programming Problems
  8. Chapter 3. Setting Properties Using the Properties Window
    1. 3.1 Classification of Properties
    2. 3.2 Various Properties of Form
    3. 3.3 Various Properties of Label
    4. Exercises
    5. Programming Problems
  9. Chapter 4. Setting Properties Using Event Procedures
    1. 4.1 Introduction
    2. 4.2 Setting the Text Property of Label and Button
    3. 4.3 Auto List Members and Parameter Information
    4. 4.4 Comments
    5. 4.5 Case Sensitivity
    6. 4.6 Indent Sensitivity
    7. 4.7 Line Break for a Line of Code
    8. 4.8 Correcting Errors in the Code
    9. 4.9 Setting Run-time Properties: Project EveProc
    10. Exercises
    11. Programming Problems
  10. Chapter 5. Visual Basic .NET Programming Language - I
    1. 5.1 Variables and Data Types
    2. 5.2 Hungarian Naming Convention for Data Types
    3. 5.3 Displaying the Output on the Screen
    4. 5.4 Dealing with Variables
    5. 5.5 Building the Project: My Variables
    6. 5.6 Addition of Numbers
    7. 5.7 Dealing with Strings
    8. 5.8 Arithmetic Operators
    9. 5.9 Using Various Data Types
    10. 5.10 Hexadecimal, Decimal, Octal, and Binary System of Numbers
    11. 5.11 Text-box Control
    12. 5.12 Radio-button Control
    13. 5.13 Programming Statements: If…Then and If…Then…EndIf
    14. 5.14 Programming Statement: If…Then…Else…End If
    15. 5.15 Constants
    16. Exercises
    17. Programming Problems
  11. Chapter 6. Visual Basic .NET Programming Language - II
    1. 6.1 Using the Imports Statement
    2. 6.2 Know the Functions
    3. 6.3 The MsgBox ( ) Function
    4. 6.4 Function Call and Arguments
    5. 6.5 The Project “Message Box Tour”
    6. 6.6 The Text Editor Toolbar
    7. 6.7 The InputBox ( ) Function
    8. 6.8 Comparison (or Conditional) Operators
    9. 6.9 List-Box Control
    10. 6.10 Programming Statement: Select Case
    11. 6.11 Concept of Computer-Control and Flowcharts
    12. 6.12 Program Design Language (PDL)
    13. Exercises
    14. Programming Problems
  12. Chapter 7. Visual Basic .NET Programming Language - III
    1. 7.1 Logical Operators
    2. 7.2 Check-Box Control
    3. 7.3 Iteration Statements
    4. 7.4 Beware of Infinite Loops
    5. 7.5 Do While Loop Statement
    6. 7.6 Do Loop While Statement
    7. 7.7 Do Until Loop Statement
    8. 7.8 Do Loop Until Statement
    9. 7.9 For Next Statement
    10. 7.10 Nesting of the For Loops
    11. 7.11 Arrays
    12. Exercises
    13. Programming Problems
  13. Chapter 8. More Controls
    1. 8.1 More Controls from Toolbox
    2. 8.2 Timer Control
    3. 8.3 Picture-box Control
    4. 8.4 Group-box Control
    5. 8.5 Combo-box Control
    6. 8.6 Horizontal Scrollbar and Vertical Scrollbar Controls
    7. 8.7 Numeric-up-down, Track-bar, and Progress-bar Controls
    8. 8.8 Acquiring Control over the Controls
    9. Exercises
    10. Programming Problems
  14. Chapter 9. Menus and Dialog-Boxes
    1. 9.1 Basic Elements of Menu
    2. 9.2 Generic Procedure of Creating Menus
    3. 9.3 Creating a Simple Menu Application
    4. 9.4 Enhancing a Simple Menu Application
    5. 9.5 Modifying the Existing Menu
    6. 9.6 Assigning and Removing Shortcut Keys
    7. 9.7 Dynamically Growing Menus
    8. 9.8 Pop-up Menus
    9. 9.9 A Brief Introduction to Files
    10. 9.10 Using Dialog-Boxes
    11. Exercises
    12. Programming Problems
  15. Chapter 10. Structured Programming
    1. 10.1 What is Structured Programming
    2. 10.2 Events, Subroutines, and Functions
    3. 10.3 Scope of Variables
    4. 10.4 Scope of Procedures
    5. 10.5 Creating Multiple Forms
    6. 10.6 The Project Scopes
    7. 10.7 Elementary and Composite Data Types
    8. Exercises
    9. Programming Problems
  16. Chapter 11. Object-Oriented Programming
    1. 11.1 What is Object-Oriented Programming
    2. 11.2 Implementing OOP
    3. 11.3 Early Binding and Late Binding ***
    4. 11.4 Inheritance Overriding
    5. 11.5 Object Browser
    6. 11.6 Collections
    7. 11.7 Events in User-defined Classes
    8. Exercises
    9. Programming Problems
  17. Chapter 12. Using Built-in Functions
    1. 12.1 Built-in Functions
    2. 12.2 Mathematical Functions (Methods)
    3. 12.3 Strings Handling Functions
    4. 12.4 Date and Time Handling Functions
    5. 12.5 Data Type Inspection Functions
    6. 12.6 Data Type Conversion Functions
    7. 12.7 Function Format ( )
    8. 12.8 Financial Functions
    9. 12.9 Miscellaneous Functions
    10. 12.10 Option Statements
    11. 12.11 Built-in Functions Demonstration Application
    12. 12.12 Seeking Built-in Help
    13. Exercises
    14. Programming Problems
  18. Chapter 13. Working with Files
    1. 13.1 Introduction to Files
    2. 13.2 Classification of Files
    3. 13.3 Generic Procedure of Processing Files
    4. 13.4 Handling Files and Folders Using Functions
    5. 13.5 Handling Files and Folders Using Classes
    6. 13.6 Directory Class
    7. 13.7 File Class
    8. 13.8 File and Folder Manipulation Application
    9. 13.9 File Processing Using Functions
    10. 13.10 File Processing Using Streams
    11. 13.11 Project File Processing
    12. Exercises
    13. Programming Problems
  19. Chapter 14. Advanced Techniques in Visual Basic .NET
    1. 14.1 Single Document Interface and Multiple Document Interface
    2. 14.2 Placing a Toolbar on the Form
    3. 14.3 Drawing
    4. 14.4 Printing
    5. 14.5 Debugging a Program
    6. 14.6 Structured Exception Handling
    7. 14.7 Using Command Line Compiler
    8. Exercises
    9. Programming Problems
  20. Chapter 15. Typist: The Text Editor
    1. 15.1 Introduction to Typist: The Text Editor
    2. 15.2 Developing the Typist
    3. 15.3 Coding of Typist
    4. 15.4 Deployment and Distribution of Typist
    5. Exercises
    6. Programming Problems
  21. Chapter 16. Attention Visual Basic 6 Programmers
    1. 16.1 Scope
    2. 16.2 New and Better IDE
    3. 16.3 Coding
    4. 16.4 Revised and Enlarged Toolbox
    5. 16.5 Variables
    6. 16.6 Displaying a Form Using the Code
    7. 16.7 Default Properties
    8. 16.8 Upgrading Visual Basic 6 Programs to Visual Basic .NET
  22. Appendix A: A Quick Tour of Windows XP
  23. Appendix B: Installation of Visual Studio .NET
  24. Appendix C: Operators in Visual Basic .NET
  25. Appendix D: ASCII Character Code Chart
  26. Appendix E: Frequently Asked Questions
  27. Acknowledgements
  28. Copyright

Product information

  • Title: Visual Basic .NET
  • Author(s):
  • Release date: February 2004
  • Publisher(s): Pearson India
  • ISBN: 9788131770825