Illustration of a Visual Basic Program Running an Ada Program 1 by Richard Conn 11 September 1999.

Slides:



Advertisements
Similar presentations
Information System Design Lab 5&6. User Interface Design.
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Follow the man….. Read the phrases on the shimmering neon lights and write down the correct economic term to match that phrase.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Scripts and Flow Control. Scripts So far we have been entering commands directly into the command line But there is a better way Script files (and functions)
Introduction to Visual Basic Programming. Lecture Outline History What is Visual Basic First Look at the VB 6.0 Environment Some VB Terminology Our first.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Visual Basic Project 1 IDS 306 Spring 1999 V. Murphy.
Visual Basic for Applications Class III. User Forms  We place controls on User Forms to get input from the user.  Common controls include text boxes,
Visual Basic Debugging Tools Appendix D 6/27/20151Dr. Monther Aldwairi.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Introduction to Visual Basic Chulantha Kulasekere.
Creating a Console Application with Visual Studio
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
1 Operating Systems Lecture 3 Shell Scripts. 2 Shell Programming 1.Shell scripts must be marked as executable: chmod a+x myScript 2. Use # to start a.
An Introduction to Visual Basic
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
Visual Basic 101.
Let’s get started using Visual Basic!. Private Sub cmdGo_Click... Dim strMessage As String Dim sngSum As Single If IsNumeric(txtNumber1.Text) = False.
CSI 1390: Introduction to Computers TA: Tapu Kumar Ghose Office: STE 5014
Programming Examples to Accompany Structure Topic Please use speaker notes for additional information!
Review for Mid-term! October 26, Review Homework Worksheet True or False Operators are symbols that perform specific operations in Visual Basic.
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.
© Chinese University, CSE Dept. Distributed Systems / Simple Example Open Microsoft Visual Studio 2005:
Creating Projects in JCreator Computer Science 40S.
Comments in Java. When you create a New Project in NetBeans, you'll notice that some text is greyed out, with lots of slashes and asterisks:
Computer Science 112 Fundamentals of Programming II Command Buttons and Responding to Events.
Compiling a C Program. Before we can begin we must open a telnet session to phobos. There are a number of ways to do this, but the easiest is to click.
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.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
OCR Computing GCSE © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 4: Writing programs.
”Java and JMLfor Dummies” The Java source code is written in a text file using your favourite editor (Notepad) and is saved with extension.java. Be careful.
Shell Interface Shell Interface Functions Data. Graphical Interface Graphical Interface Command-line Interface Command-line Interface Experiments Private.
VAT Calculator program Controls Properties Code Results.
The Python interpreter CSE 160 University of Washington Ruth Anderson 1.
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.
THE C PROGRAMMING ENVIRONMENT. Four parts of C environment  Main menu  Editor status line and edit window  Compiler message window  “Hot Keys” quick.
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.
Visual Basic A Quick Tutorial VB Review for ACS 367.
More Visual Basic!. Creating a Standalone Program A standalone program will allow you to make a program file that can be run like other Windows programs,
The Program Editor1 Visual Basic (VB) supports a text editor (not a word processor) that permits the writing and modification of program code. The editor.
QCAMPform SETUP 1. The following window will appear with the execution of the “setup.exe” file. (Note: “setup.exe” file is extracted from the “cf2dsetup.zip”
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Problem: Take Two Numbers, Add Them Together And Display The Results. Now To Build The Flowchart… We Probably Need One Like This… Let’s Add The Routines…
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Client-side (JavaScript) Validation. Associating a function with a click event – Part 1 Use the input tag’s onclick attribute to associate a function.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 12 Creating Console Applications, Understanding XML, and Creating Web Services.
Visual Basic Code & No.: CS 218
The Python interpreter
Console and GUI Programs
ADE EDIS READ & Optimizer TRAINING Colorado Department of Education
An Introduction to Computers and Visual Basic
Microsoft Office Illustrated
Please use speaker notes for additional information!
More examples How many processes does this piece of code create?
The Python interpreter
Visual Basic: Week 5 Review User defined functions
An Introduction to Computers and Visual Basic
DAT2343 LMC Simulator Usage © Alan T. Pinck / Algonquin College; 2003.
Scripts In Matlab.
YOUR text YOUR text YOUR text YOUR text
Running a Java Program using Blue Jay.
Click “Execute” button.
Presentation transcript:

Illustration of a Visual Basic Program Running an Ada Program 1 by Richard Conn 11 September 1999

Illustration of a Visual Basic Program Running an Ada Program 2 Views  Visual Basic Source Code  Visual Basic Procedure  Ada Source Code  List of Files in the System’s Directory  Starting the VB Program  Result of Running the VB Program

Illustration of a Visual Basic Program Running an Ada Program 3 Visual Basic Source Code This is our Mainline form This text box contains the command line args for the Ada program This button causes this procedure to run

Illustration of a Visual Basic Program Running an Ada Program 4 Visual Basic Procedure  This procedure is invoked when the associated button is pressed  It was mostly comment (in green) with one function (one line of executable code): Shell “ECHOCL.EXE “ + txtAdaCommandArgs.text, vbNormalFocus SHELL command Name of Ada Executable followed by a space Name of Text Box Object Text attribute of the Text Box Ada program executes in a normal way

Illustration of a Visual Basic Program Running an Ada Program 5 Ada Source Code This program uses Ada.Command_Line to access the command line arguments It waits for a RETURN when done so you can see the result

Illustration of a Visual Basic Program Running an Ada Program 6 List of Files in the System’s Directory Executable of Ada Program Executable of Visual Basic Program Ada Source Code VB Source Code Only the Ada and VB Executable Programs (EXE Files) are Needed

Illustration of a Visual Basic Program Running an Ada Program 7 Starting the VB Program 1. User types in command line arguments for the Ada program here 2. User clicks on this button

Illustration of a Visual Basic Program Running an Ada Program 8 Result of Running the VB Program This window pops up and the output of the Ada program is observed Striking RETURN causes the ECHOCL window to disappear