Start Page: Start a new Project

Size: px
Start display at page:

Download "Start Page: Start a new Project"

Transcription

1 Introduction to Visual Basic & visual basic controls Learning outcome: Develop a Visual Basic Application start a new project know the toolbox control How to change the properties of control using properties windows Determine which events the controls on the window should recognize. Start Page: Start a new Project

2 VB Screen and its details: Menu Bar Tool bar Form Window Push Pin Main Area Tool Box Sizing Handle Properties Window

3 Example: To learn the date types of VB.Net and use in program. Form Design:

4 Source Code: Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim bi As Byte = 1 Dim n As Integer = 10 Dim si As Single = Dim d As Double = Dim dt As Date = Today Dim chr As Char = "a" Dim str As String = "welcome" Dim bl As Boolean = True If RadioButton1.Checked Then TextBox1.Text = bi ElseIf RadioButton2.Checked Then TextBox1.Text = si ElseIf RadioButton3.Checked Then TextBox1.Text = n ElseIf RadioButton4.Checked Then TextBox1.Text = d ElseIf RadioButton5.Checked Then TextBox1.Text = dt ElseIf RadioButton6.Checked Then TextBox1.Text = str ElseIf RadioButton7.Checked Then TextBox1.Text = chr ElseIf RadioButton8.Checked Then TextBox1.Text = bl End If

5 IF Block Example 1: To find the largest number from the given two numbers using IF-Block Form design Example 1: Source Code Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim num1, num2 As Integer num1 = TextBox1.Text num2 = TextBox2.Text If num1 > num2 Then TextBox3.Text = num1 Else TextBox3.Text = num2 End If End Class

6 Example 2: To use radio buttons to select the choice to perform arithmetic operations like addition, subtraction, multiplication and division Form Design: Source Code: Public Class Form1 Private Sub Label2_Click(sender As System.Object, e As System.EventArgs) Handles Label2.Click Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim num1, num2 As Integer num1 = TextBox1.Text num2 = TextBox2.Text If RadioButton1.Checked Then TextBox3.Text = num1 + num2 ElseIf RadioButton2.Checked Then TextBox3.Text = num1 - num2 ElseIf RadioButton3.Checked Then TextBox3.Text = num1 * num2 ElseIf RadioButton4.Checked Then TextBox3.Text = num1 / num2 End If Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click Me.Close() End Class

7 Example: To find the given number is even or odd using if-block Form design: Source Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim num, res As Integer num = TextBox1.Text res = num Mod 2 If res = 0 Then MsgBox("even") Else MsgBox("odd") End If End Class

8 Example: 3 To perform the string handling function like length, concatenate, compare. Form Design Source Code: Public Class Form1 Private Sub Length(sender As System.Object, e As System.EventArgs) Handles LenButton1.Click TextBox3.Text = Len(TextBox1.Text) Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Dim a, b As String a = TextBox1.Text b = TextBox2.Text TextBox3.Text = Replace(b, "o", a, 1, 1) Private Sub Button10_Click(sender As System.Object, e As System.EventArgs) Handles Button10.Click Me.Close() Private Sub Button9_Click(sender As System.Object, e As System.EventArgs) Handles Button9.Click TextBox3.Clear() Private Sub Button6_Click(sender As System.Object, e As System.EventArgs) Handles Button6.Click Dim a, b As String Dim n As Integer a = TextBox1.Text b = TextBox2.Text n = StrComp(a, b) If n = 1 Then TextBox3.Text = "Not Same" Else TextBox3.Text = "Same"

9 End If Private Sub Button7_Click(sender As System.Object, e As System.EventArgs) Handles Button7.Click TextBox3.Text = StrReverse(TextBox1.Text) Private Sub Button5_Click(sender As System.Object, e As System.EventArgs) Handles Button5.Click Dim a, b As String a = TextBox1.Text b = TextBox2.Text TextBox3.Text = a + b End Class Example: To highlight the text in a text box using highlighting text properties like selection length and selection start. Form Design: Source Code: Public Class Form1 Private Sub TextBox2_TextChanged(sender As System.Object, e As System.EventArgs) Handles TextBox2.TextChanged TextBox1.SelectionStart = 0 TextBox2.SelectionLength = Len(TextBox2.Text) End Class

10 Example: To use combo box and list box to select the choice from the user. Form Design: After adding the combo box from the tool box add the item list from the properties of combo box using items property as shown below. Source code: Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click TextBox1.Text = ComboBox1.SelectedItem End Class

11 Form Design: After adding the list box from the tool box add the item list from the properties of list box as shown in the below figure. Source Code: Public Class Form1 Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click TextBox1.Text = ListBox1.SelectedItem End Class

12 Example: Grade Computation If Score>=90 and Attendance=100 grade=a If Score>=80 and Attendance>90 grade=b If Score>=60 and Attendance >=60 grade=c Otherwise grade=f Form Design: Source Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim score, attendance As Double score = CDbl(TextBox1.Text) attendance = CDbl(TextBox2.Text) If score >= 90 And attendance = 100 Then TextBox3.Text = "A" ElseIf score >= 80 And attendance >= 90 Then TextBox3.Text = "B" ElseIf score >= 60 And attendance >= 60 Then TextBox3.Text = "c" Else TextBox3.Text = "F" End If End Class

13 Example: Select Case Form design: Source Code: Public Class Form1 Private Sub TextBox1_TextChanged(sender As System.Object, e As System.EventArgs) Handles TextBox1.TextChanged TextBox1.SelectionStart = 0 TextBox1.SelectionLength = Len(TextBox1.Text) TextBox1.Focus() Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim pos As Integer = TextBox1.Text Select Case pos Case 1 TextBox2.Text = "win" Case 2 TextBox2.Text = "Place" Case 3 TextBox2.Text = "Show" Case 4, 5 TextBox2.Text = "you almost placed money" Case Else TextBox2.Text = "out of money" End Select End Class

14 Loops or Repetitive Statements: Example: Do Loop : Program to display numbers from 1 to 10 using Do-loop. Do Loop Syntax: Do While condition Statement Loop Form design: Source Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim i As Integer = 0 Do End Class ListBox1.Items.Add(i) i = i + 1 Loop Until i = 10

15 Example: For...Next Loop. For Next Loop Syntax Form Design: Source Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click For i As Integer = 1 To 10 ListBox1.Items.Add(i) Next End Class

16 Example: While..Loop While Loop Syntax: While condition Statement Increment End While Form Design: Source Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim i As Integer = 1 While i <= 10 ListBox1.Items.Add(i) i = i + 1 End While End Class

17 VB Program to connect MS-Access database. Create a Student database and add a table course with the following fields as given below, and save the file on desktop. Save this file on desktop: Student.accdb Follow the steps in VB:

18

19

20

21

22

23

24

25

Visual Basic 2010 Essentials

Visual Basic 2010 Essentials Visual Basic 2010 Essentials Visual Basic 2010 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited.

More information

a) What is the major difference between a program that runs under a virtual machine vs. one that does not?

a) What is the major difference between a program that runs under a virtual machine vs. one that does not? CS109 Midterm Exam, Total = 100 Points Name: Please write neatly and show as much of your work as possible for partial credit. Scan through all problems first, and attack the easiest problems first. Use

More information

Form Tasarımı - 5. Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt

Form Tasarımı - 5. Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt Form Tasarımı - 5 Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt Kodlar Imports System.Data Imports System.Data.OleDb Imports System.Xml Imports System.IO Public Class Form5 Dim yeni As OleDbConnection

More information

Introduction to Computer and Information Science CIS 110, Fall 2015

Introduction to Computer and Information Science CIS 110, Fall 2015 Introduction to Computer and Information Science CIS 110, Fall 2015 Project 10 For this project, use Visual Basic to create a temperature conversion program. The following instructions provide all of the

More information

VB.NET - DATABASE ACCESS

VB.NET - DATABASE ACCESS VB.NET - DATABASE ACCESS http://www.tutorialspoint.com/vb.net/vb.net_database_access.htm Copyright tutorialspoint.com Applications communicate with a database, firstly, to retrieve the data stored there

More information

VB.NET Programming Fundamentals

VB.NET Programming Fundamentals Chapter 3 Objectives Programming Fundamentals In this chapter, you will: Learn about the programming language Write a module definition Use variables and data types Compute with Write decision-making statements

More information

Visual Basic Programming. An Introduction

Visual Basic Programming. An Introduction Visual Basic Programming An Introduction Why Visual Basic? Programming for the Windows User Interface is extremely complicated. Other Graphical User Interfaces (GUI) are no better. Visual Basic provides

More information

Introduction to Java

Introduction to Java Introduction to Java The HelloWorld program Primitive data types Assignment and arithmetic operations User input Conditional statements Looping Arrays CSA0011 Matthew Xuereb 2008 1 Java Overview A high

More information

VB.NET - WEB PROGRAMMING

VB.NET - WEB PROGRAMMING VB.NET - WEB PROGRAMMING http://www.tutorialspoint.com/vb.net/vb.net_web_programming.htm Copyright tutorialspoint.com A dynamic web application consists of either or both of the following two types of

More information

INGESTING NWIS DATA USING VB.NET AND VISUAL STUDIO 2008

INGESTING NWIS DATA USING VB.NET AND VISUAL STUDIO 2008 INGESTING NWIS DATA USING VB.NET AND VISUAL STUDIO 2008 January, 2010 by: Tim Whiteaker Center for Research in Water Resources The University of Texas at Austin Distribution This tutorial and example files

More information

Deleting A Record... 26 Updating the Database... 27 Binding Data Tables to Controls... 27 Binding the Data Table to the Data Grid View...

Deleting A Record... 26 Updating the Database... 27 Binding Data Tables to Controls... 27 Binding the Data Table to the Data Grid View... 1 Table of Contents Chapter 9...4 Database and ADO.NET...4 9.1 Introduction to Database...4 Table Definitions...4 DDL and DML...5 Indexes, the Primary Key, and the Foreign Key...5 Index Uniqueness...5

More information

Windows Phone 7 Mobile Applications Using Decision Structures

Windows Phone 7 Mobile Applications Using Decision Structures C7937_ch05_rev03_001-086.qxd 7/11/11 10:07 AM Page 1 CHAPTER 5 Windows Phone 7 Mobile Applications Using Decision Structures OBJECTIVES Write a program for the Windows Phone 7 development platform Understand

More information

Design of Conveyor Monitoring Controller with Wireless System

Design of Conveyor Monitoring Controller with Wireless System Design of Conveyor Monitoring Controller with Wireless System Mrs.Sheeja S.Suresh 1, Mr.P.H.Rangaree 2 1 Research scholar, G.H.Raisoni College of Engg./Electronics, Nagpur, India Email: sheeja_suresh@rediffmail.com

More information

Visual Logic Instructions and Assignments

Visual Logic Instructions and Assignments Visual Logic Instructions and Assignments Visual Logic can be installed from the CD that accompanies our textbook. It is a nifty tool for creating program flowcharts, but that is only half of the story.

More information

A Concise Guide for Beginners LIEW VOON KIONG

A Concise Guide for Beginners LIEW VOON KIONG I A Concise Guide for Beginners LIEW VOON KIONG Disclaimer II Excel VBA Made Easy- A Concise Guide for Beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored,

More information

Government Girls Polytechnic, Bilaspur

Government Girls Polytechnic, Bilaspur Government Girls Polytechnic, Bilaspur Name of the Lab: Internet & Web Technology Lab Title of the Practical : Dynamic Web Page Design Lab Class: CSE 6 th Semester Teachers Assessment:20 End Semester Examination:50

More information

First Bytes Programming Lab 2

First Bytes Programming Lab 2 First Bytes Programming Lab 2 This lab is available online at www.cs.utexas.edu/users/scottm/firstbytes. Introduction: In this lab you will investigate the properties of colors and how they are displayed

More information

Chapter 2: Elements of Java

Chapter 2: Elements of Java Chapter 2: Elements of Java Basic components of a Java program Primitive data types Arithmetic expressions Type casting. The String type (introduction) Basic I/O statements Importing packages. 1 Introduction

More information

STUDENTS ATTENDANCE MANAGEMENT SYSTEM MINI PROJECT REPORT. Submitted by. KALAISANKARAN B Roll No: 11MCA020

STUDENTS ATTENDANCE MANAGEMENT SYSTEM MINI PROJECT REPORT. Submitted by. KALAISANKARAN B Roll No: 11MCA020 STUDENTS ATTENDANCE MANAGEMENT SYSTEM MINI PROJECT REPORT Submitted by KALAISANKARAN B Roll No: 11MCA020 in partial fulfillment of the requirements For the award of the degree of MASTER OF COMPUTER APPLICATIONS

More information

TRANSITION FROM TEACHING VB6 TO VB.NET

TRANSITION FROM TEACHING VB6 TO VB.NET TRANSITION FROM TEACHING VB6 TO VB.NET Azad Ali, Butler County Community College azad.ali@bc3.edu David Wood, Robert Morris University wood@rmu.edu ABSTRACT The upgrade of Microsoft Visual Basic from version

More information

CRM Setup Factory Installer V 3.0 Developers Guide

CRM Setup Factory Installer V 3.0 Developers Guide CRM Setup Factory Installer V 3.0 Developers Guide Who Should Read This Guide This guide is for ACCPAC CRM solution providers and developers. We assume that you have experience using: Microsoft Visual

More information

National Database System (NDS-32) Macro Programming Standards For Microsoft Word Annex - 8

National Database System (NDS-32) Macro Programming Standards For Microsoft Word Annex - 8 National Database System () Macro Programming Standards For Microsoft Word Annex - 8 02/28/2000 /10:23 AM ver.1.0.0 Doc. Id: RNMSWS softcopy : word page : 1/6 Objectives A well-defined system needs to

More information

Programming MS Excel in Visual Basic (VBA)

Programming MS Excel in Visual Basic (VBA) Programming MS Excel in Visual Basic (VBA) Part 2-Branching & Looping, Message Boxes & Alerts by Kwabena Ofosu, Ph.D., P.E., PTOE Abstract This course is the second of a four-part series on computer programming

More information

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications Introduction Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications 1 Computer Software Architecture Application macros and scripting - AML,

More information

Final Exam Review: VBA

Final Exam Review: VBA Engineering Fundamentals ENG1100 - Session 14B Final Exam Review: VBA 1 //coe/dfs/home/engclasses/eng1101/f03/ethics/en1.e05.finalcoursewrapup.sxi Final Programming Exam Topics Flowcharts Assigning Variables

More information

ClientAce WPF Project Example

ClientAce WPF Project Example Technical Note ClientAce WPF Project Example 1. Introduction Traditional Windows forms are being replaced by Windows Presentation Foundation 1 (WPF) forms. WPF forms are fundamentally different and designed

More information

Java Basics: Data Types, Variables, and Loops

Java Basics: Data Types, Variables, and Loops Java Basics: Data Types, Variables, and Loops If debugging is the process of removing software bugs, then programming must be the process of putting them in. - Edsger Dijkstra Plan for the Day Variables

More information

CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013

CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 Oct 4, 2013, p 1 Name: CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 1. (max 18) 4. (max 16) 2. (max 12) 5. (max 12) 3. (max 24) 6. (max 18) Total: (max 100)

More information

Selection: Boolean Expressions (2) Precedence chart:

Selection: Boolean Expressions (2) Precedence chart: Selection: Boolean Expressions Boolan operators: Return a Boolean value Types: 1. Relational operators Operators: (a) < (less than) (b) > (greater than) (c) = (equal to) (d)

More information

ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 6 Program Control

ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 6 Program Control ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 6 Program Control Reading: Bowman, Chapters 16 CODE BLOCKS A code block consists of several lines of code contained between a BEGIN

More information

OpenOffice.org 3.2 BASIC Guide

OpenOffice.org 3.2 BASIC Guide OpenOffice.org 3.2 BASIC Guide Copyright The contents of this document are subject to the Public Documentation License. You may only use this document if you comply with the terms of the license. See:

More information

Management Information Systems 260 Web Programming Fall 2006 (CRN: 42459)

Management Information Systems 260 Web Programming Fall 2006 (CRN: 42459) Management Information Systems 260 Web Programming Fall 2006 (CRN: 42459) Class Time: 6:00 8:05 p.m. (T,Th) Venue: WSL 5 Web Site: www.pbvusd.net/mis260 Instructor Name: Terrell Tucker Office: BDC 127

More information

Creating Reports Using Crystal Reports

Creating Reports Using Crystal Reports Creating Reports Using Crystal Reports Creating Reports Using Crystal Reports Objectives Learn how to create reports for Visual Studio.NET applications. Use the Crystal Reports designer to lay out report

More information

1. a procedure that you perform frequently. 2. Create a command. 3. Create a new. 4. Create custom for Excel.

1. a procedure that you perform frequently. 2. Create a command. 3. Create a new. 4. Create custom for Excel. Topics 1 Visual Basic Application Macro Language What You Can Do with VBA macro Types of VBA macro Recording VBA macros Example: MyName () If-Then statement Example: CheckCell () For-Next Loops Example:

More information

'========================================================================== ==== Scans a range of A/D Input Channels

'========================================================================== ==== Scans a range of A/D Input Channels ========================================================================== ==== File: Library Call Demonstrated: background mode Purpose: continuously array. Demonstration: channels. Other Library Calls:

More information

Visual Web Development

Visual Web Development Terry Marris November 2007 Visual Web Development 17 Classes We see how to create our own classes. 17.1 The Concept My friend is: ann small - 1.52 metres female pretty and generous Attributes are derived

More information

Changing the Display Frequency During Scanning Within an ImageControls 3 Application

Changing the Display Frequency During Scanning Within an ImageControls 3 Application Changing the Display Frequency During Scanning Within an ImageControls 3 Date November 2008 Applies To Kofax ImageControls 2x, 3x Summary This application note contains example code for changing he display

More information

A CAD (Classroom Assessment Design) of a Computer Programming Course

A CAD (Classroom Assessment Design) of a Computer Programming Course US-China Education Review B 1 (2012) 41-49 Earlier title: US-China Education Review, ISSN 1548-6613 D DAVID PUBLISHING A CAD (Classroom Assessment Design) of a Computer Programming Course Nazir S. Hawi

More information

Computer Programming I

Computer Programming I Computer Programming I COP 2210 Syllabus Spring Semester 2012 Instructor: Greg Shaw Office: ECS 313 (Engineering and Computer Science Bldg) Office Hours: Tuesday: 2:50 4:50, 7:45 8:30 Thursday: 2:50 4:50,

More information

Hands-on Exercise 1: VBA Coding Basics

Hands-on Exercise 1: VBA Coding Basics Hands-on Exercise 1: VBA Coding Basics This exercise introduces the basics of coding in Access VBA. The concepts you will practise in this exercise are essential for successfully completing subsequent

More information

FedTraveler.com. Log o FedTraveler.com using your valid Member ID and PIN.

FedTraveler.com. Log o FedTraveler.com using your valid Member ID and PIN. FedTraveler.com Log o FedTraveler.com using your valid Member ID and PIN. Page 3 / 38 FedTraveler.com S een will refresh to Organizer page Page 4 / 38 Organizer 3. On he Organizer Page, click the link

More information

Ambientes de Desenvolvimento Avançados

Ambientes de Desenvolvimento Avançados Ambientes de Desenvolvimento Avançados http://www.dei.isep.ipp.pt/~jtavares/adav/adav.htm Aula 17 Engenharia Informática 2006/2007 José António Tavares jrt@isep.ipp.pt 1.NET Web Services: Construção de

More information

Computer Programming I & II*

Computer Programming I & II* Computer Programming I & II* Career Cluster Information Technology Course Code 10152 Prerequisite(s) Computer Applications, Introduction to Information Technology Careers (recommended), Computer Hardware

More information

Active web content which attracts the user and retain their interest in the web pages.

Active web content which attracts the user and retain their interest in the web pages. Khalil Rehman December 2, 2003 What is ActiveX: Microsoft ActiveX is a set of technologies from Microsoft that enables interactive content for the World Wide Web. With ActiveX, Web sites come alive with

More information

Using C# for Graphics and GUIs Handout #2

Using C# for Graphics and GUIs Handout #2 Using C# for Graphics and GUIs Handout #2 Learning Objectives: C# Arrays Global Variables Your own methods Random Numbers Working with Strings Drawing Rectangles, Ellipses, and Lines Start up Visual Studio

More information

The VB development environment

The VB development environment 2 The VB development environment This chapter explains: l how to create a VB project; l how to manipulate controls and their properties at design-time; l how to run a program; l how to handle a button-click

More information

VB Controls and Events. Introduc)on. Program Planning and Flowcharts Visual Basic Visual basic Interface VB Controls CreaGng a Project

VB Controls and Events. Introduc)on. Program Planning and Flowcharts Visual Basic Visual basic Interface VB Controls CreaGng a Project CE 311 K Introduc/on to Computer Methods VB Controls and Events Daene C. McKinney Introduc)on Program Planning and Flowcharts Visual Basic Visual basic Interface VB Controls CreaGng a Project 1 Why Visual

More information

CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals

CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals 1 Recall From Last Time: Java Program import java.util.scanner; public class EggBasket { public static void main(string[]

More information

Using Loops and Timers

Using Loops and Timers Chapter 7 Using Loops and Timers After completing this chapter, you will be able to: Use a For Next loop to execute statements a set number of times. Display output in a multiline text box by using string

More information

Setting up CU@Round On line Account

Setting up CU@Round On line Account Setting up CU@Round On line Account Created Date: October 6, 2009 Purpose: This document is a step by step process on how to set up a member s CU@Round online account. Note: The member will need the following

More information

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan DATA 301 Introduction to Data Analytics Microsoft Excel VBA Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca DATA 301: Data Analytics (2) Why Microsoft Excel Visual Basic

More information

CSC 221: Computer Programming I. Fall 2011

CSC 221: Computer Programming I. Fall 2011 CSC 221: Computer Programming I Fall 2011 Python control statements operator precedence importing modules random, math conditional execution: if, if-else, if-elif-else counter-driven repetition: for conditional

More information

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro, to your M: drive. To do the second part of the prelab, you will need to have available a database from that folder. Creating a new

More information

Hands-On Lab. Client Workflow. Lab version: 1.0.0 Last updated: 2/23/2011

Hands-On Lab. Client Workflow. Lab version: 1.0.0 Last updated: 2/23/2011 Hands-On Lab Client Workflow Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: DEFINING A PROCESS IN VISIO 2010... 4 Task 1 Define the Timesheet Approval process... 4 Task 2

More information

How To: Create a Crystal Report from ADO.NET Dataset using Visual Basic.NET

How To: Create a Crystal Report from ADO.NET Dataset using Visual Basic.NET How To: Create a Crystal Report from ADO.NET Dataset using Visual Basic.NET See also: http://support.businessobjects.com/communitycs/technicalpapers/rtm_reporting offadonetdatasets.pdf http://www.businessobjects.com/products/dev_zone/net_walkthroughs.asp

More information

Introduction. Syntax Statements. Colon : Line Continuation _ Conditions. If Then Else End If 1. block form syntax 2. One-Line syntax. Do...

Introduction. Syntax Statements. Colon : Line Continuation _ Conditions. If Then Else End If 1. block form syntax 2. One-Line syntax. Do... 3 Syntax Introduction Syntax Statements Colon : Line Continuation _ Conditions If Then Else End If 1. block form syntax 2. One-Line syntax Select Case Case Case Else End Select Do...Loop For...Next While...Wend

More information

Wage Calculator Application

Wage Calculator Application T U T O R I A L 7 Objectives In this tutorial, you will learn to: Understand basic problemsolving techniques. Understand control structures. Understand and create pseudocode. Use the If Then and If Then

More information

Moving from C++ to VBA

Moving from C++ to VBA Introduction College of Engineering and Computer Science Mechanical Engineering Department Mechanical Engineering 309 Numerical Analysis of Engineering Systems Fall 2014 Number: 15237 Instructor: Larry

More information

Visual Basic. murach's TRAINING & REFERENCE

Visual Basic. murach's TRAINING & REFERENCE TRAINING & REFERENCE murach's Visual Basic 2008 Anne Boehm lbm Mike Murach & Associates, Inc. H 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 murachbooks@murach.com www.murach.com Contents Introduction

More information

Introduction to Custom GIS Application Development for Windows. By: Brian Marchionni

Introduction to Custom GIS Application Development for Windows. By: Brian Marchionni Introduction to Custom GIS Application Development for Windows By: Brian Marchionni MapWindow GIS Introduction to Custom GIS Application Development for Windows Copyright 2008 Brian Marchionni All Rights

More information

VB.NET INTERVIEW QUESTIONS

VB.NET INTERVIEW QUESTIONS VB.NET INTERVIEW QUESTIONS http://www.tutorialspoint.com/vb.net/vb.net_interview_questions.htm Copyright tutorialspoint.com Dear readers, these VB.NET Interview Questions have been designed specially to

More information

Crystal Reports.NET Programming

Crystal Reports.NET Programming Excerpts from the book Crystal Reports.NET Programming By Brian Bischof Copyright 2004 This free ebook gets you started learning Crystal Reports for.net. The chapters in this book are direct excerpts from

More information

Visual basic string search function, download source code visual basic 6.0 gratis. > Visit Now <

Visual basic string search function, download source code visual basic 6.0 gratis. > Visit Now < Visual basic string search function, download source code visual basic 6.0 gratis. > Visit Now < Visual studio 2010 c# coding standards microsoft visual studio 2012 ultimate kickass curso online de basic

More information

Introduction to Visual Basic and Visual C++ Database Foundation. Types of Databases. Data Access Application Models. Introduction to Database System

Introduction to Visual Basic and Visual C++ Database Foundation. Types of Databases. Data Access Application Models. Introduction to Database System Introduction to Visual Basic and Visual C++ Database Foundation Lesson 8 Introduction to Database System I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Data Access Application Models Types of

More information

VB.NET - QUICK GUIDE VB.NET - OVERVIEW. Strong Programming Features VB.Net

VB.NET - QUICK GUIDE VB.NET - OVERVIEW. Strong Programming Features VB.Net VB.NET - QUICK GUIDE http://www.tutorialspoint.com/vb.net/vb.net_quick_guide.htm Copyright tutorialspoint.com VB.NET - OVERVIEW Visual Basic.NET (VB.NET) is an object-oriented computer programming language

More information

EViews Database Extension Interface

EViews Database Extension Interface EViews Database Extension Interface September 23, 2014 Table of Contents Introduction... 2 Examples... 4 File Based Database... 4 XML Folder Based Database... 17 SQL Server Database... 39 Distributing

More information

Virtual Integrated Design Getting started with RS232 Hex Com Tool v6.0

Virtual Integrated Design Getting started with RS232 Hex Com Tool v6.0 Virtual Integrated Design Getting started with RS232 Hex Com Tool v6.0 Copyright, 1999-2007 Virtual Integrated Design, All rights reserved. 1 Contents: 1. The Main Window. 2. The Port Setup Window. 3.

More information

Elavon Payments App. Revolutionising digital interaction.

Elavon Payments App. Revolutionising digital interaction. Elavon Payments App. Revolutionising digital interaction. Contents. Introduction.... 3 Requirements.... 3 Using Elavon Payments app.... 3 Understanding the Page App Options.... 4 Licensing apps.... 6 2

More information

How-To Guide. Crystal Report Demo. Copyright Topaz Systems Inc. All rights reserved.

How-To Guide. Crystal Report Demo. Copyright Topaz Systems Inc. All rights reserved. How-To Guide Crystal Report Demo Copyright Topaz Systems Inc. All rights reserved. For Topaz Systems, Inc. trademarks and patents, visit www.topazsystems.com/legal. Table of Contents Overview... 3 The

More information

Programming and Software Development CTAG Alignments

Programming and Software Development CTAG Alignments Programming and Software Development CTAG Alignments This document contains information about four Career-Technical Articulation Numbers (CTANs) for Programming and Software Development Career-Technical

More information

INDIVIDUAL MASTERY for: St#: 1153366 Test: CH 9 Acceleration Test on 29/07/2015 Grade: B Score: 85.37 % (35.00 of 41.00)

INDIVIDUAL MASTERY for: St#: 1153366 Test: CH 9 Acceleration Test on 29/07/2015 Grade: B Score: 85.37 % (35.00 of 41.00) INDIVIDUAL MASTERY for: St#: 1153366 Grade: B Score: 85.37 % (35.00 of 41.00) INDIVIDUAL MASTERY for: St#: 1346350 Grade: I Score: 21.95 % (9.00 of 41.00) INDIVIDUAL MASTERY for: St#: 1350672 Grade: A

More information

INDIVIDUAL MASTERY for: St#: 1141027 Test: CH 9 Acceleration Test on 09/06/2015 Grade: A Score: 92.68 % (38.00 of 41.00)

INDIVIDUAL MASTERY for: St#: 1141027 Test: CH 9 Acceleration Test on 09/06/2015 Grade: A Score: 92.68 % (38.00 of 41.00) INDIVIDUAL MASTERY for: St#: 1141027 Grade: A Score: 92.68 % (38.00 of 41.00) INDIVIDUAL MASTERY for: St#: 1172998 Grade: B Score: 85.37 % (35.00 of 41.00) INDIVIDUAL MASTERY for: St#: 1232138 Grade: B

More information

Visual Basic distinguishes between a number of fundamental data types. Of these, the ones we will use most commonly are:

Visual Basic distinguishes between a number of fundamental data types. Of these, the ones we will use most commonly are: Data Types, Arithmetic, Strings, Input Visual Basic distinguishes between a number of fundamental data types. Of these, the ones we will use most commonly are: Integer Long Single Double String Boolean

More information

FLORIDA STATE COLLEGE AT JACKSONVILLE COLLEGE CREDIT COURSE OUTLINE. Introduction to Programming with Visual Basic.NET

FLORIDA STATE COLLEGE AT JACKSONVILLE COLLEGE CREDIT COURSE OUTLINE. Introduction to Programming with Visual Basic.NET Form 2A, Page 1 FLORIDA STATE COLLEGE AT JACKSONVILLE COLLEGE CREDIT COURSE OUTLINE COURSE NUMBER: COP 2837 COURSE TITLE: Introduction to Programming with Visual Basic.NET PREREQUISITE(S): COP 1000 COREQUISITE(S):

More information

CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003

CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003 CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003 By Srunokshi Kaniyur Prema Neelakantan This tutorial gives an introduction to creating Crystal reports in Visual Studio.Net 2003 and few of the features available

More information

#820 Computer Programming 1A

#820 Computer Programming 1A Computer Programming I Levels: 10-12 Units of Credit: 1.0 CIP Code: 11.0201 Core Code: 35-02-00-00-030 Prerequisites: Secondary Math I, Keyboarding Proficiency, Computer Literacy requirement Semester 1

More information

1. Define: (a) Variable, (b) Constant, (c) Type, (d) Enumerated Type, (e) Identifier.

1. Define: (a) Variable, (b) Constant, (c) Type, (d) Enumerated Type, (e) Identifier. Study Group 1 Variables and Types 1. Define: (a) Variable, (b) Constant, (c) Type, (d) Enumerated Type, (e) Identifier. 2. What does the byte 00100110 represent? 3. What is the purpose of the declarations

More information

Part 1: An Introduction

Part 1: An Introduction Computer Programming in Excel VBA Part 1: An Introduction by Kwabena Ofosu, Ph.D., P.E., PTOE Abstract This course is the first of a four-part series on computer programming in Excel Visual Basic for Applications

More information

Chapter 2 Introduction to Java programming

Chapter 2 Introduction to Java programming Chapter 2 Introduction to Java programming 1 Keywords boolean if interface class true char else package volatile false byte final switch while throws float private case return native void protected break

More information

The Need for a New Data Processing Interface for Digital Forensic Examination

The Need for a New Data Processing Interface for Digital Forensic Examination The Need for a New Data Processing Interface for Digital Forensic Examination Inikpi O. ADEMU School of Architecture, Computing and Engineering University of East London London, United Kingdom Dr Chris

More information

Learn Visual Basic 6.0

Learn Visual Basic 6.0 i Course Notes for: Learn Visual Basic 6.0 Lou Tylee, 1998 KIDware 15600 NE 8 th, Suite B1-314 Bellevue, WA 98008 (206) 721-2556 FAX (425) 746-4655 ii Learn Visual Basic 6.0 Notice These notes were developed

More information

PL/SQL MOCK TEST PL/SQL MOCK TEST I

PL/SQL MOCK TEST PL/SQL MOCK TEST I http://www.tutorialspoint.com PL/SQL MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to PL/SQL. You can download these sample mock tests at your local

More information

Although most agree that it got off to a slower-than-anticipated start, Microsoft s

Although most agree that it got off to a slower-than-anticipated start, Microsoft s 28 Crystal Reports with Visual Studio.NET Although most agree that it got off to a slower-than-anticipated start, Microsoft s Visual Studio.NET development environment appears to be gaining ground as the

More information

TITLE PAGE WEB BASED APPLICATION FOR INSURANCE SERVICES CASE STUDY OF THE INSURANCE COMPANY ESEDEBE FIDELIA OGECHUKWU (CST/2009/333)

TITLE PAGE WEB BASED APPLICATION FOR INSURANCE SERVICES CASE STUDY OF THE INSURANCE COMPANY ESEDEBE FIDELIA OGECHUKWU (CST/2009/333) TITLE PAGE WEB BASED APPLICATION FOR INSURANCE SERVICES CASE STUDY OF THE INSURANCE COMPANY BY ESEDEBE FIDELIA OGECHUKWU (CST/2009/333) DEPARTMENT OF COMPUTER SCIENCE AND INFORMATION TECHNOLOGY FACULTY

More information

Scripting with CAMMaster And Visual Basic.NET

Scripting with CAMMaster And Visual Basic.NET Scripting with CAMMaster And Visual Basic.NET Introduction CAMMaster is a very high performance CAM software program. Most of the functions that you can perform manually can be automated by utilizing the

More information

TS2Mascot. Introduction. System Requirements. Installation. Interactive Use

TS2Mascot. Introduction. System Requirements. Installation. Interactive Use TS2Mascot Introduction TS2Mascot is a simple utility to export peak lists from an Applied Biosystems 4000 Series database. The peak list is saved as a Mascot Generic Format (MGF) file. This can be a file

More information

Automating @RISK with VBA

Automating @RISK with VBA Automating @RISK with VBA The purpose of this document is to introduce the @RISK Excel Developer Kit (XDK) and explain how you can use VBA to automate @RISK. 1 The term automate simply means that you write

More information

Xml Inst2 Page - Complete Education

Xml Inst2 Page - Complete Education Imports System.Xml Inst2Page.aspx Partial Class Inst2Form Inherits System.Web.UI.Page Protected Sub InitVent(ByRef XMLDoc As XmlDocument) For Each elem As String In Std.ventType Type1.Items.Add(elem) Dim

More information

TAB Electronics' Build Your Own Robot Kit with a NetMedia BasicX-24 microcontroller

TAB Electronics' Build Your Own Robot Kit with a NetMedia BasicX-24 microcontroller California State University, Chico Intelligent Systems Laboratory Chico, CA 95929-0410 http://isl.ecst.csuchico.edu TAB Electronics' Build Your Own Robot Kit with a NetMedia BasicX-24 microcontroller B.A.

More information

Exercise 1: Python Language Basics

Exercise 1: Python Language Basics Exercise 1: Python Language Basics In this exercise we will cover the basic principles of the Python language. All languages have a standard set of functionality including the ability to comment code,

More information

Visual Basic Cheat Sheet

Visual Basic Cheat Sheet thecodingguys 2013 Visual Basic Cheat Sheet 12/24/2013 A cheat sheet to the Visual Basic language, ideal for newcomers to the language for more visit http://www.thecodingguys.net KEEP IN TOUCH TABLE OF

More information

One Dimension Array: Declaring a fixed-array, if array-name is the name of an array

One Dimension Array: Declaring a fixed-array, if array-name is the name of an array Arrays in Visual Basic 6 An array is a collection of simple variables of the same type to which the computer can efficiently assign a list of values. Array variables have the same kinds of names as simple

More information

1. Create SQL Database in Visual Studio

1. Create SQL Database in Visual Studio 1. Create SQL Database in Visual Studio 1. Select Create New SQL Server Database in Server Explorer. 2. Select your server name, and input the new database name, then press OK. Copyright 2011 Lo Chi Wing

More information

1998-2002 by NetMedia, Inc. All rights reserved. Basic Express, BasicX, BX-01, BX-24 and BX-35 are trademarks of NetMedia, Inc. 2.

1998-2002 by NetMedia, Inc. All rights reserved. Basic Express, BasicX, BX-01, BX-24 and BX-35 are trademarks of NetMedia, Inc. 2. Version 2.0 1998-2002 by NetMedia, Inc. All rights reserved. Basic Express, BasicX, BX-01, BX-24 and BX-35 are trademarks of NetMedia, Inc. 2.00H 2 Contents 1. Downloader...4 2. Editor and compiler...8

More information

Windows PowerShell Essentials

Windows PowerShell Essentials Windows PowerShell Essentials Windows PowerShell Essentials Edition 1.0. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights

More information

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT, 15.1200.40

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT, 15.1200.40 SOFTWARE DEVELOPMENT, 15.1200.40 STANDARD 1.0 APPLY PROBLEM-SOLVING AND CRITICAL THINKING SKILLS TO INFORMATION 1.1 Describe methods of establishing priorities 1.2 Prepare a plan of work and schedule information

More information

COMPUTER SCIENCE (5651) Test at a Glance

COMPUTER SCIENCE (5651) Test at a Glance COMPUTER SCIENCE (5651) Test at a Glance Test Name Computer Science Test Code 5651 Time Number of Questions Test Delivery 3 hours 100 selected-response questions Computer delivered Content Categories Approximate

More information

1 Classical Universal Computer 3

1 Classical Universal Computer 3 Chapter 6: Machine Language and Assembler Christian Jacob 1 Classical Universal Computer 3 1.1 Von Neumann Architecture 3 1.2 CPU and RAM 5 1.3 Arithmetic Logical Unit (ALU) 6 1.4 Arithmetic Logical Unit

More information

VISUAL BASIC Controls. Version 1 Trg. Div., NIC HQRs

VISUAL BASIC Controls. Version 1 Trg. Div., NIC HQRs VISUAL BASIC Controls 1 Controls These are the objects which can be pasted onto a form which display text, through picture boxes for graphic images, to buttons, check boxes, lists and other menus. Each

More information

Intelligent agents monitor your course to find activity that matches criteria that you set. The criteria that the agents search for are:

Intelligent agents monitor your course to find activity that matches criteria that you set. The criteria that the agents search for are: Intelligent Agents Intelligent agents monitor your course to find activity that matches criteria that you set. The criteria that the agents search for are: Student login activity Release conditions in

More information