Control Structures (part II)

Slides:



Advertisements
Similar presentations
Introduction to Macro Introduction to Visual Basic for Application Recording a Macro Looking at the code of Recorded Macro.
Advertisements

1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
How to Get The Most Out of Outlook 2003 Michele Schwartzman Division of Customer Support Summer 2006.
Financial Information Management How do I talk to a DBMS? SQL In one hour.
The basics of the Online Portal
Website Tutorial. Administration  Log on by clicking Login on the footer of almost any page  Your Username is.
Introduction to VBA. What is VBA? VBA stands for Visual Basic for Applications. It is a programming language used exclusively by the Microsoft Office.
Microsoft Visual Basic 2005: Reloaded Second Edition
Financial Information Management Stefano Grazioli.
Multiple Forms, Container Controls, AddHandler This presentation is based on the Forms and ContainerControls VB Projects 1.
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.
BTEC National Diploma – IT Practitioners Unit 16 - Maintaining Computer Systems.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Financial Information Management Putting VB & SQL To Work Stefano Grazioli.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
11 SUPPORTING THE WINDOWS DESKTOP Chapter 4. Chapter 4: Supporting the Windows Desktop2 SUPPORTING THE WINDOWS DESKTOP  Troubleshoot and customize the.
Introduction to Microsoft Excel Macros COE 201- Computer Proficiency.
ArcGIS Issues Oct Oct 4 to mimic our issue Launch ArcGIS 10 on your computer You are standard user Must have c:/temp as writeable by you Download.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
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.
Top 2 Ways to Fix Endless Reboot Loop after Windows 10 Update error-without-reinstall.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
How To Uninstall AVG Antivirus?. Restart Your Computer And Log Into Windows As A User With Administrative Account Please restart your computer to make.
Process Automation The Technology
Chapter 2: The Visual Studio .NET Development Environment
Process Automation The Technology
Configuring Windows 10 for Your Studio
Create Virtual Directory Windows 8 - IIS 8.5
COMP 170 – Introduction to Object Oriented Programming
Dynamic SQL Queries Stefano Grazioli.
3.01 Apply Controls Associated With Visual Studio Form
How to Fix Microsoft Office Error 2932 at Support Number
Microsoft Excel 2003 Illustrated Complete
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
ACROSS THE WORLD MCAFEE PROVIDING THE UPDATE PROTECTION SOLUTIONS TO THE COMPUTER USERS. AS SAME TO THE ERROR ABOVE, WAIT FOR FEW MINUTES AND THINK SOME.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
ACROSS THE WORLD MCAFEE PROVIDING THE UPDATE PROTECTION SOLUTIONS TO THE COMPUTER USERS. AS SAME TO THE ERROR ABOVE, WAIT FOR FEW MINUTES AND THINK SOME.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
Across the world McAfee providing the update protection solutions to the computer users. As same to the error above, wait for few minutes and think some.
VISUAL BASIC.
CIS16 Application Development Programming with Visual Basic
Control Structures (part II)
Dynamic SQL Queries Stefano Grazioli.
So you were told to make a website
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.
Programming with Microsoft Visual Basic 2008 Fourth Edition
Microsoft Excel 2007 – Level 2
Presentation transcript:

Control Structures (part II) Stefano Grazioli

Critical Thinking Many 0s – do not worry! IF you got a zero you get to re-do: submit with today’s homework. We will regrade. EasyMeter 

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

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

Loops for Repetitive Tasks Control Structures Loops for Repetitive Tasks

Loops – For … Next For i As Integer = 1 To 10 Step 1 next Application.ActiveCell.Offset(i, 0).Value = i * 100 next

Loops – For Each For Each myCell As Excel.Range in Application.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

What Is New In Technology? WINIT What Is New In Technology?

Object-Oriented (OO) VB and VBA are OO languages Almost everything is an object Object = methods() + properties Properties can store other objects 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” programming items (e.g., a class). Go from “known” to “specific”. myTempRange.Borders.Color = Drawing.Color.LightGray myTempRange.Interior.Color = Drawing.Color.DarkBlue

H4

Suggestions Submit carefully Email me. Come and see me. Office hours on web site.