Intermediate Visual Basic CISP 371 CRC Prof. Chapman.

Slides:



Advertisements
Similar presentations
Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
Advertisements

Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
Microsoft.Net Technology Sachin Shetty Vimal Amin Thomas Mullasaril Vinutna Pulavarti Software Engineering CS616 Instructor:Dr.Tappert.
CSE3030Lecture 11 Know Your User The First Slogan.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
ASP.NET Programming with C# and SQL Server First Edition
Building Silverlight Applications Using the MVVM pattern An Introduction by Peter Messenger Senior Developer – Qmastor
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
CIS205 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
Welcome to Philly Code Camp Russ Basiura SharePoint Consultant RJB Technical Consulting
+ Connecting to the Web Week 7, Lecture A. + Midterm Basics Thursday February 28 during Class The lab Tuesday, February 26 is optional review Class on.
Chapter 1 Introduction Outstanding Features About This Book 1. A novel writing style is adopted to try to attract students’ or beginning programmers’ interesting.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
CS 2340: Programming in VB Instructor: Dr. Qi Yang Office: 213 Ullrich Phone: YangQ 1.
Overview of Microsoft.Net and Vb.Net ITSE 2349 Spring 2002 Material from Microsoft.Net an Overview for ACC faculty by Stuart Laughton and Introduction.
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:
Object Oriented Programming CEN 221. Course Description Classes, objects, inheritance, polymorphism, graphical user interfaces, event handling, exception.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
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.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
Microsoft Visual Basic 2005: Reloaded Second Edition
Introduction to ASP.NET MIS 324 Professor Sandvig.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Chapter 9 Database Management Discovering Computers Fundamental.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
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.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
SQL Server User Group Meeting Reporting Services Tips & Tricks Presented by Jason Buck of Custom Business Solutions.
Introduction to Exception Handling and Defensive Programming.
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
ASP.NET &.NET Environment. Overview Part of Microsoft’s.NET environment Used for Development of  Websites  Internet applications  Web Services & XML.
C# AND ASP.NET What will I do in this course?. MAJOR TOPICS Learn to program in the C# language with the Visual Studio IDE (Interactive Development Environment)
1 Visual Studio.NET.NET as a Teaching Tool John D. Haney John M. Lovely Northern Arizona University College of Business Administration.
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
Grade Book Database Presentation Jeanne Winstead CINS 137.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
What’s Next? MIS 314 Mr. David Auer. Outline  What’s Next? ISC tracks ISC tracks E-commerce developer track E-commerce developer track MIS Intermediate.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
IT274 Intermediate C# Programming Instructor : Vladimir Gubanov, PhD AIM : vladimirg77.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
INTERMEDIATE PROGRAMMING WITH JAVA
Introduction to Visual Basic 2008 Programming
CIS16 Application Development – Programming with Visual Basic
Chapter 15: GUI Applications & Event-Driven Programming
Presentation transcript:

Intermediate Visual Basic CISP 371 CRC Prof. Chapman

CISP 371Chapman VB Capabilities Most people think that Visual Basic is only useful if you want to build a GUI program that runs on a desktop PC. But VB is much more powerful than that.

CISP 371Chapman VB Capabilities VB can be used to work with databases and to build web sites. Who needs Java or Javascript or PHP? Who needs SQL or Oracle or MySQL? Not a master VB programmer.

CISP 371Chapman VB Capabilities VB can handle Windows desktop GUI applications Windows web applications Database connectivity Extension of the language  OOP Application security

CISP 371Chapman Windows Desktop GUI Apps This was covered in the prerequisite course CISP 370. More to come about what I expect you all to know in this area.

CISP 371Chapman Language Extension The rest of what VB can do can is defined within the huge class library called the.NET Framework. As the first part of this course we’ll work with this library.

CISP 371Chapman OOP You will learn how to effectively use the.NET Framework. You will also extend the.NET Framework into customized classes using the OOP concepts of inheritance, polymorphism, and encapsulation. These concepts are vital when programming VB web apps and database connectivity.

CISP 371Chapman OOP You will be able to create advanced memory storage for your program’s data. You’ll learn to communicate between modules with events and exceptions, to organize data and procedures into classes, to create expandable array-like objects called collections, and to save organized data to a file using serialization.

CISP 371Chapman Database Connectivity The subset of the.NET Framework that deals with connecting an app to a database is called ADO.NET. These classes let you use a database as a permanent storage area for your application’s data.

CISP 371Chapman Database Connectivity You can use VB to copy databases into memory, search the data with VB, edit the data, and save the data back to the database. Working with an existing database with VB does not require SQL.

CISP 371Chapman Windows Web Applications The subset of the.NET Framework that deals with connecting an app to a database is called ASP.NET. These classes let you create an event- driven web page that contains controls.

CISP 371Chapman Windows Web Applications You can use VB to build web sites using the same techniques as building desktop applications.

CISP 371Chapman What You Already Know This is contained on Blackboard in the document “CISP 370 topics”. If you don’t feel comfortable with any of these topics, plan to meet with me ASAP during office hours for a quick tutorial.

CISP 371Chapman What You Already Know Let’s look at two examples TextBox input data validation Complicated multiple-window WinApp to play craps

CISP 371Chapman Simple CISP 370 WinApp This WinApp accepts input in the TextBox and then validates the input as a positive integer. If input is invalid, then a MessageBox dialog informs the user.

CISP 371Chapman Simple CISP 370 WinApp Read the code behind MainForm to see the btnProcess_Click() event handler definition the validation technique using Val() and an If statement

CISP 371Chapman More Complicated WinApp In the past, the last homework in my CISP 370 asked for a WinApp with three windows that played the game of craps. The user could place bets and enable a log file to keep track of their bets. The application would determine whether a bet had won or lost and update the user’s bankroll.

CISP 371Chapman More Complicated WinApp “GUI sketches” are a method to design the application before writing a single line of VB.NET code. In these sketches the developer communicates their vision for the abilities of each window.

CISP 371Chapman sketch of window control names what user can do in window

CISP 371Chapman More Complicated WinApp After the windows have been sketched out, then the developer writes the code behind each window.

CISP 371Chapman More Complicated WinApp The main window is always on the screen and is where the user rolled the dice and managed the game. The user can navigate to the other windows and exit the app here.

CISP 371Chapman More Complicated WinApp The bets window allows the user to place a bet prior to their next roll. The allowable bets depend on the current state of the game (has the point been set?), the table minimum bet, and the total amount of money the user has.

CISP 371Chapman More Complicated WinApp The show-all-bets window displays the currently placed bets and their amount.

CISP 371Chapman What You Don’t Yet Know How to use.NET Framework classes directly (instead of having Visual Studio automatically generate the necessary code). How to build customized classes that are based upon the.NET Framework. How to group code together into a coherent class that other programmers would find useful.

CISP 371Chapman What You Don’t Yet Know How to connect your app to a database using the ADO.NET library. How to build active web pages using.NET techniques and the ASP.NET library.

CISP 371Chapman My Goal Students who finish this course have enough knowledge about using and expanding the.NET Framework library to do whatever they like with Visual Basic. VB – it’s not just for desktop applications any more!