Lecture Set 3 Introduction to Visual Basic Concepts

Slides:



Advertisements
Similar presentations
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Advertisements

Tutorial 12: Enhancing Excel with Visual Basic for Applications
With Microsoft Excel 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2010.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Using the Visual Basic Editor Visual Basic for Applications 1.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Creating a Console Application with Visual Studio
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
CW-V1 SDD 0201 Principals of Software Design and Development Introduction to Programming Languages.
Visual Basic Chapter 1 Mr. Wangler.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
05/09/ Introducing Visual Basic Sequence Programming.
Chapter 1 P. 1 Writing Windows applications with Visual Basic Figure 1.1 The first program works as follows: (These operations can be performed in any.
® Microsoft Access 2010 Tutorial 11 Using and Writing Visual Basic for Applications Code.
An Introduction to Visual Basic
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
Chapter 1: An Introduction to Visual Basic 2005 Programming with Microsoft Visual Basic 2005, Third Edition.
Introduction to Visual Basic.NET Programming In Visual Basic.NET.
Chapter 8: Writing Graphical User Interfaces Visual Basic.NET Programming: From Problem Analysis to Program Design.
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
OCC Network Drives  H:\  P:\ 
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Jeremiah McNichols Partnership for Environmental Education and Rural Health PowerPoint Toolbar Creator Instructions and Foundation.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 5.1 Test-Driving the Inventory Application.
Introduction to Excel VBA UNC Charlotte CPE/PDH Series December 17, 2009.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 3 Building an Application in the Visual Basic.NET Environment.
Lecture Set 7 Procedures and Event Handlers Part B - The Structure of an Application Event Handlers.
COMPREHENSIVE Access Tutorial 11 Using and Writing Visual Basic for Applications Code.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
15 Copyright © 2004, Oracle. All rights reserved. Debugging Triggers.
Visual Basic.NET BASICS Lesson 14 Menus and Printing.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
 2007 Pearson Education, Inc. All rights reserved Introduction to the Visual Basic Express 2005 IDE.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction To Visual Basic 6
Visual Basic .NET BASICS
Visual Basic.NET Windows Programming
Chapter 2: The Visual Studio .NET Development Environment
Working in the Forms Developer Environment
Chapter 1: An Introduction to Visual Basic 2015
Chapter 8: Writing Graphical User Interfaces
Introduction to Triggers
1. Introduction to Visual Basic
Introduction to the Visual C# 2005 Express Edition IDE
Word and the Writing Process
Microsoft Access 2003 Illustrated Complete
Microsoft Access Illustrated
Chapter 2 Visual Basic Interface
Visual Basic Project Development Environment
Objectives Learn about Function procedures (functions), Sub procedures (subroutines), and modules Review and modify an existing subroutine in an event.
Social Media And Global Computing Introduction to Visual Studio
Exploring Microsoft Excel
Hands-on Introduction to Visual Basic .NET
CIS16 Application Development Programming with Visual Basic
Producing Triggers Schedule: Timing Topic 40 minutes Lecture
Debugging Visual Basic Programs
Running a Java Program using Blue Jay.
Tutorial 11 Using and Writing Visual Basic for Applications Code
Presentation transcript:

Lecture Set 3 Introduction to Visual Basic Concepts Part D– Some Standard Coding Conventions 8/2/2013 3:07 PM

Objectives Provide a view of code generated by the .NET C# Compiler Review the syntax for referring to controls and for writing event handlers Review code style recommendations (so that you and others can read your code)

Syntax Issues - 1

Syntax Issues - 2

Syntax Issues - 3

Syntax Issues - 4

Syntax Issues - 5

Event Response

More on Event Handling

Event Handlers - code

Coding Style Issues

Coding Style Issues - Comments

Comments (Best Practices) Create comments when developing or modifying an application Create a comment block at the beginning of a class or module to describe its purpose Create comment blocks for procedures Don’t overuse or create unnecessary comments

The Default List of Code Snippets

Syntax Errors – What You Will See

Syntax Errors – What You Will See

New Coding Features in C# (Look these up in your text – learn how to use them) Programming with code snippets Saved patterns Use Code Snippet Manager to add and delete snippets from the default list Rename Identifiers Change all occurrences – several mechanisms Smart Compile Auto Correction Used to show syntax error correction options When available, use bar to right of line in question The My feature May not seem useful now – but will later

Other Topics to Study More useful skills for working in the Code Editor Use toolbar buttons Expand or collapse code Print source code How to get help How to run, test, and debug ad project