1 Workshop 4 (B): Visual Basic Test Project Mahidol University June 13, 2008 Paul Evenson University of Delaware Bartol Research Institute.

Slides:



Advertisements
Similar presentations
COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Using the SmartPLS Software
Right-click on the colored box and remove it.
Chapter 6 Multiform Projects Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
SUNY Morrisville-Norwich Campus-Week 12 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Fundamentals of Programming in Visual Basic 3.1 Visual basic Objects Visual Basic programs display a Windows style screen (called a form) with boxes into.
Introduction to Visual Basic Chulantha Kulasekere.
CS0004: Introduction to Programming Events. Review  Event Procedure  A set of instructions to be executed when a certain event happens.  Many event-driven.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
05/09/ Introducing Visual Basic Sequence Programming.
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
Web Design Using HTML Codes. WHAT DO I NEED TO BEGIN DESIGNING A HOME PAGE? 1.YOU NEED A FOLDER (also called a DIRECTORY) You should set up a folder or.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 11 1 Microsoft Office Access 2003 Tutorial 11 – Using and Writing Visual Basic for Applications.
Automating Tasks with Visual Basic. Introduction  When can’t find a readymade macro action that does the job you want, you can use Visual Basic code.
3–D Helium Molecule Tutorial Alice Project Duke University Professor Susan H. Rodger Gaetjens Lezin June 2008.
Creating a Project with C++ Builder
Basic Controls & Properties Chapter 2. Overview u VB-IDE u Basic Controls  Command Button  Label  Text Box  Picture Box u Program Editor  Setting.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
Active-HDL Interfaces Debugging C Code Course 10.
Project Deployment IT [211 CAP] How to convert your project to a full application.
By Deborah Nelson Duke University Professor Susan Rodger July 13, 2008.
McGraw-Hill © 2009 The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Multiform Projects.
Working with the VB IDE. Running a Program u Clicking the”start” tool begins the program u The “break” tool pauses a program in mid-execution u The “end”
An Example of Windows Forms Applications Windows-based application –Win Forms Control structures (selection and repetition) Graphics Read integers from.
Lists Tutorial By Deborah Nelson Duke University Professor Susan Rodger July 13, 2008.
Controls. Adding Controls to Form -You can pick controls from the toolbox. -To add the controls from Toolbox to the Form You have be in design view. -To.
Chapter 2 – Introduction to the Visual Studio .NET IDE
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 4 Working with Variables, Constants, Data Types, and Expressions.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
BBT 10 Visual Basic 03 Enrichment. Tip Before creating any files for your project, first create a new folder Save all of your files in the folder Pieces.
Introduction to Eclipse Programming with an Integrated Development Environment.
BDE tutorial By Deborah Nelson Duke University Under the direction of Professor Susan Rodger July 13, 2008.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
How to Execute TSR Program. Install Borland C++ Download Borland C++ from LMS – oads/BORLANDC.rarhttp://vulms.vu.edu.pk/Courses/CS609/Downl.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Sorry, the pen lost control. Anyway, you need to download both the.vbp and the.frm for each project. I looked at PrCalc, I did not look at inventory.
Java With NetBeans First Project. Java Are language for this semester is Java The Development Environment is Netbeans.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
Creating New Forms Projects can appear more professional when using different windows for different types of information. Select Add Windows Form from.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
we are going to write our Assembly language program as sample ex01.asm. So that we can attempt our assigment.
Visual Basic.NET BASICS Lesson 9 Nested If Statements and Radio Buttons.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Chapter 2: The Visual Studio .NET Development Environment
Installation and Training
Chapter 2 – Introduction to the Visual Studio .NET IDE
An introduction to programming Created by Dr. Randy Pausch
3.01 Apply Controls Associated With Visual Studio Form
Visual programming Chapter 1: Introduction
3.01 Apply Controls Associated With Visual Studio Form
Please use speaker notes for additional information!
Starting a project in VisualDSP++
Making Objects Move in Unison: Using Lists
Scripts In Matlab.
Introduction to VB programming
YOUR text YOUR text YOUR text YOUR text
Making Objects Move in Unison: Using Lists
Executive Reports, Instructions and Documentation
Presentation transcript:

1 Workshop 4 (B): Visual Basic Test Project Mahidol University June 13, 2008 Paul Evenson University of Delaware Bartol Research Institute

2 Starting a New Project Make an empty folder to hold your project Select the type of project and press Open

3 Select Your Options Critical Options: Editor: Require Variable Declaration Environment: Prompt to Save Changes

4 Select Names and Components Name the project and the initial form Be sure the controls you need are loaded Save everything in your new directory Examine files with text editor

5 Place Control and Adjust Properties

6 Run the Program – It Works!

7 Setting Control Properties Note that the “Backcolor” property is a long integer At “Design Time” you can set it with a “drop down” menu

8 Double Click a Control to Open the Code Window for Its Events Any code you add here is executed every time the event occurs Here we add the instruction to change the backcolor to green Now run the program again

9 Now Try More Elaborate Code

10 Making Your Execute File You can now run this like any other program

11 Adding a “Pure Code” Module This type of module is the proper way to include subroutines that can be called from anywhere in your program

12 Towards Cleaner Code… Define the variables as Global in the code module Set them only once in the “Load” event on the main form They are now available to anyone If you don’t like the shade of red, you can change it once, and it will change everywhere

13 Add Another Label Control

14 Adding the Communications