Control Structures (part II)

Slides:



Advertisements
Similar presentations
Using VB with MS Applications R. Juhl, Delta College.
Advertisements

Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 8: Macros, Importing and Exporting Data.
© by Pearson Education, Inc. All Rights Reserved.
FIRST COURSE Getting Started with Microsoft Office 2007.
FIRST COURSE Getting Started with Microsoft Office 2007.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Access Web Apps – OK, Now What? EXTENDING ACCESS WEB APPS George Young Dawson Butte Software ACCESS DAY – OCTOBER DENVER,
Microsoft Office 2013 ®® Appendix A Introduction to Cloud Computing.
How to Get The Most Out of Outlook 2003 Michele Schwartzman Division of Customer Support Summer 2006.
The Basic Java Tools A text editor to write Java program source code. A compiler to translate source code into bytecode. An interpreter to translate.
The basics of the Online Portal
Introduction to VBA. What is VBA? VBA stands for Visual Basic for Applications. It is a programming language used exclusively by the Microsoft Office.
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
Microsoft Visual Basic 2005: Reloaded Second Edition
Financial Information Management Stefano Grazioli.
In addition to Word, Excel, PowerPoint, and Access, Microsoft Office® 2013 includes additional applications, including Outlook, OneNote, and Office Web.
1 Working with MS SQL Server Textbook Chapter 14.
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
Financial Information Management Putting VB & SQL To Work Stefano Grazioli.
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
Microsoft Visual Studio 2010 Teacher: Ms. Olifer.
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.
11 SUPPORTING THE WINDOWS DESKTOP Chapter 4. Chapter 4: Supporting the Windows Desktop2 SUPPORTING THE WINDOWS DESKTOP  Troubleshoot and customize the.
 Desktop computer at work  Laptop computer for work  Computer at home  The Dilemma: having access to your  Documents  Events  Notes  To Do List.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
CITRIX REVIEW Presented by Mary Kay Black and Christy Randall.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
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.
Creating New Forms Projects can appear more professional when using different windows for different types of information. Select Add Windows Form from.
© Stefano Grazioli - Ask for permission for using/quoting: Stefano Grazioli.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
COMPREHENSIVE Getting Started with Microsoft Office 2007.
Databases Stefano Grazioli.
Control Structures (part II)
Getting Started with Microsoft Office 2007
Process Automation The Technology
IUIE Reporting Basics Workshop
Chapter 2: The Visual Studio .NET Development Environment
Process Automation The Technology
PerSEC Lab SRA 111 – Dr. Glantz.
Configuring Windows 10 for Your Studio
Eagle Gate College/Provo College Group
MICROSOFT OUTLOOK and Outlook service Provider
Create Virtual Directory Windows 8 - IIS 8.5
3.01 Apply Controls Associated With Visual Studio Form
Dynamic SQL Queries Stefano Grazioli.
1. Introduction to Visual Basic
3.01 Apply Controls Associated With Visual Studio Form
Introduction With TimeCard users can tag SharePoint events with information that converts them into time sheets. This way they can report.
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
How to Downgrade Adobe Reader?. If your newer version of Adobe does not work as it is advertised, so you can downgrade the software by uninstalling the.
CSC235 - Visual Studio Getting Started.
VISUAL BASIC.
CIS16 Application Development Programming with Visual Basic
Microsoft Excel 101.
Dynamic SQL Queries Stefano Grazioli.
Process Automation: From models to code
Loops, Subs, & Functions Stefano Grazioli.
Loops, Subs, & Functions Stefano Grazioli.
Install MySQL Community Server and MySQL Workbench
Dynamic SQL Queries Stefano Grazioli.
Dynamic SQL Queries Stefano Grazioli.
Microsoft Office Excel 2003
Microsoft Office Illustrated Fundamentals
Top 10 OneDrive Tips.
Microsoft Excel 2007 – Level 2
Visual Basic for Applications: Introduction
Presentation transcript:

Control Structures (part II) Stefano Grazioli

Critical Thinking Homework folders are timed Keyword list / dictionary linked from the schedule EasyMeter 

Visual Studio is a tool to build all sorts of apps: web, mobile, and desktop IDE = Integrated Development Environment VS 2017 is state of the art First version in 1997: multibillion $ investment Free to you: http://its.virginia.edu/software/displayPackages.php?tId=36 look for “more options” “MS imagine premium” get VS 2015 with update 3. Visual Studio Excel

VS - Optional own computer install The following has a high success rate, but it is not a guaranteed solution. Make sure Visual Studio and all other Microsoft programs are closed Open Control Panel. Click “Programs and Features”. In the left sidebar, click “View Installed Updates” At the very top-right of the Uninstall an Update screen, type the following into the Search box: KB3115135. There may be one or more entries labeled Security Update for Microsoft Office 2016 (KB3115135). Select and click Uninstall. Uninstall them all. Now, reopen Visual Studio and you should be able to create a VSTO workbook.   On the McIntire domain, we have blocked this update from all machines.  Home users won’t be so lucky; this update may come back again in the future.  Students can download the “Show or Hide Updates” tool from Microsoft to permanently block KB3115135: https://support.microsoft.com/en-us/help/3183922/how-to-temporarily-prevent-a-windows-update-from-reinstalling- in-windows-10

How VS works Coding Compiling Requirements: What we want the computer to do Visual Studio Coding Compiling Source code file in a computer language Runnable program .exe, .dll C#, VB, C++

Source Code in VB

VBA editor vs. VS with VSTO VBA Editor is included in Excel Older technology Huge installed base Supported but not improved upon Has a recorder All saved within workbook Visual Studio tools for Office is included in VS Newer, way more powerful technology Growing installed base Fully supported and updated No recorder Saved in several files

You Do The Talking Name, major Learning objectives What you like about the class so far What can be improved Attitude towards the Tournament?

Control Structures Loops for Repetitive Tasks

Loops – For … Next For i As Integer = 1 To 10 Step 1 next Range(“A2”).Offset(i, 0).Value = i * 100 next

Loops – For Each Next For Each myCell As Excel.Range in Range("A1:B4") myCell.Value = myCell.Value * 2 Next

Loops – Do Loop 1 Do ‘ body of the loop Loop While <test>

Loops – Do Loop 2 Do While <test> ‘ body of the loop Loop

WINIT What Is New In Technology?

Object-Oriented (OO) VB and VBA are OO languages Almost everything is an object Object = methods() + properties Properties have values. A value can be another object Class is a description (code) for an object Instance is a specific working object in your computer

Dot notation The dot allows us to “look inside” items. Go from “known” to “specific”. Range(“A3:B8”).Borders.Color = Drawing.Color.LightGray Range(“A3:B8”).Interior.Color = Drawing.Color.DarkBlue

H4

Trouble? Submit carefully Come and see me. Office hours on web site.