VBScript Microsoft Visual Basic: Scaleable Solutions Visual Basic  Best tool for distributed client/server solutions  Powerful, robust,

Slides:



Advertisements
Similar presentations
Basic Computer Skills Windows & the Internet.
Advertisements

Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
The Microsoft View: Module 1: Getting Started. Copyright Course 2559B, Introduction to Visual Basic®.NET Programming with Microsoft®.NET. Lecture 1 Microsoft.
ACTIVE X By Ethan Huang. OUTLINE What is ActiveX? Component of ActiveX Why ActiveX? ActiveX and Java Security Issue.
Research Presentation for CS616 By Hai Huang April, 2001 ActiveX and The Web Architectural & Technical Overview.
Create Windows ® Applications with.NET Allan Knudsen.NET Developer Evangelist Microsoft.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Microsoft Exchange Exchange is more than just Electronic Mail The server that embraces Internet standards and extends rich messaging and collaboration.
Web Browser: Netscape Navigator and Internet Explorer By Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore.
Windows & The Internet. Objectives: Identify and use computer hardware Open and close a desired program Switch back and forth between open windows Create.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: Multimedia on the Web.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
1 Modular Software/ Component Software 2 Modular Software Code developed in modules. Modules can then be linked together to produce finished product/program.
Visual Basic: An Object Oriented Approach 12 – Creating and using ActiveX objects.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
3/8/00asp00 1 Active Server Pages from Microsoft Nancy McCracken Northeast Parallel Architectures Center at Syracuse.
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.
CIS 338: Creating ActiveX Controls Dr. Ralph D. Westfall March, 2003.
Tutorial 1: Getting Started with Adobe Dreamweaver CS4.
Introducing Reporting Services for SQL Server 2005.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Fundamentals of Database Chapter 7 Database Technologies.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Exploring Microsoft Office Welcome to Cyberspace: The Internet and World Wide Web1 Exploring the Internet Chapter 1 Welcome to Cyberspace: The Internet.
Universiti Utara Malaysia Chapter 3 Introduction to ASP.NET 3.5.
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.
1 3. Computing System Fundamentals 3.1 Language Translators.
DEV337 Modeling Distributed Enterprise Applications Using UML in Visual Studio.NET David Keogh Program Manager Visual Studio Enterprise Tools.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Create Windows ® Applications with.NET Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
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,
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
Everything You Want To Know About Script But Were Afraid To Ask… Mark Carroll Drew Lytle Script Technologies Microsoft Corporation.
Exploring Microsoft Office Welcome to Cyberspace: The Internet and World Wide Web1 Exploring the Internet Chapter 1 Welcome to Cyberspace: The.
Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
The business logic engine for Microsoft IIS Speaker T.M. Arnett.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
TOOLBOX. The Toolbox Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
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.
Basic Computer Skills Windows & the Internet vfu.bg/en/e-Learning/
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
Active Server Pages v.s. Java Server Pages Presenters: Lan Guo Qunying Fan Pei-Xun Wu Date:
Introduction ITEC 420.
Pre-Production Meet with the client to create a project plan:
Chapter 2: The Visual Studio .NET Development Environment
VBScript Session 1 IT Professional Academy.
Active Server Pages Computer Science 40S.
Introduction to ASP By “FlyingBono” 2009_01 By FlyingBono 2009_01
Visual Studio Tools for Office 2005
1. Introduction to Visual Basic
Exploring the Internet Welcome to Cyberspace:
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
Chapter 2 – Introduction to the Visual Studio .NET IDE
Lesson 5: Multimedia on the Web
SharePoint services Provides team collaboration through SharePoint Sites and makes it easy for communities to work together on documents, tasks, contacts,
Visual Basic CSC
Presentation transcript:

VBScript

Microsoft Visual Basic: Scaleable Solutions Visual Basic  Best tool for distributed client/server solutions  Powerful, robust, scaleable  Creates ActiveX Controls and documents Visual Basic Scripting Edition  Great for active HTML content  Fast, lightweight Visual Basic for Applications  More sophisticated application scripting  End-user focus, natural upgrade, superb integration  Part of Office 97 and widely licensed  Standard edition  Professional edition  Enterprise editions  Control creation edition

Extending HTML HTMLHTML FormcontrolsFormcontrols<INPUTPicturesPictures<IMGOfficedocsOfficedocs<EMBEDJavaappletsJavaapplets<APPLETLayoutLayout<TABLE FXFX<MARQUEEHyperlinksHyperlinks<AParsers/compilersParsers/compilers<SCRIPTGenericGeneric<OBJECT

What Is ActiveX Scripting? A language-independent standard that defines the relationship between a scripting host and a scripting engine ActiveX Scripting Internet Explorer (scripting host) Visual Basic Script (scripting engine)

5 A Simple Solution (Pioneered by Visual Basic) Objects raise events for the purpose of coordinating their activity with the rest of the world Script code can be attached to an object’s events to customize behavior - this is “scripting” ButtonObjectButtonObject ClickEventClickEvent Sub Button_Click MsgBox “Hello world” MsgBox “Hello world” End Sub Sub Button_Click MsgBox “Hello world” MsgBox “Hello world” End Sub

6 The Scripting Spectrum Dynamic run-time environments have varying requirements - no one size fits all! Small scripting languages can target specific integration tasks More coding, more like an “application” Less coding, more like a “document” Visual C++ Visual Basic Visual Basic Script Internet Studio Microsoft Office (Visual Basic for Applications)

7 Visual Basic ® Scripting Edition A lightweight scripting solution Small, fast, and safe Proper subset of Visual Basic ® for Applications –100% compatible with Visual Basic –Built into Internet Explorer 3.0 and Windows NT ™ Cross-platform for easy mobility –All clients, servers –Licensable, not just for the Internet Free distribution

8 VBScript Characteristics Native support for OLE Run time is a subset of Visual Basic for Applications Small, fast parser and compiler suitable for code distributed as source text Small interpreter and run-time footprint are main design goal

9 Flexible Approach To Safety Core engine is “safe,” with a limited set of intrinsic operations “Unsafe” or platform-dependent features such as file I/O and DLLs are moved into separate objects (to which the host controls access) Safety level can be adjusted in known secure environments, such as private nets or servers

10 VBScript And Visual Basic For Applications Synergy VBScript is a nucleus –Working set size is critical –Suitable for porting to any platform –Freely licensable Visual Basic for Applications adds features and UI –Premier RAD environment –Run time adds more features and convenience OLE is fundamental to both

11 VBScript And Visual Basic Contrasted Omitted features: –Data types –User-defined types and classes –Named arguments –Error trapping and DoEvents –Goto, gosub, and select case –Debugging and conditional compilation –File I/O, graphics, and DLL access –More nits…see Web page for details

Terms ScriptA “bunch of code”, or a persistent object representing a “bunch of code” Scripting engineAn OLE server that provides a class of scripts. E.g., vbscript.dll Scripting host An application or other component that uses scripting engines Script siteA host-provided object that facilitates communication with a particular script

Browser Methods  Refresh Refresh view  GoBack Navigate to the previous item  GoForward Navigate to the next item  GoHome Go to home/start page

Browser Methods  GoSearch Go to search page  Open(Target, Location, NoHistory) Opens a target  Stop Stops opening a target  PrintOut(…) Prints the document

Browser Methods Frame specific  Navigate(Hlink, OpenInNewWin, NoHistory)  Browse Browse for a new folder to view  Quit Exit frame and close the open window

Browser Properties  IDispatch* Container A pointer to the container, if any  IDispatch* Document The document  BSTR Type The type of the document  BOOL Busy Busy flag  BOOL Visible Whether the browser is visible or hidden

Browser Properties Frame specific  BOOL FullScreen  BOOL ToolBar  BOOL StatusBar  BSTR StatusText  long Top & Left Position of the frame window relative to the screen (pixels)  long Height & Width Size of the frame window (pixels)

Browser Events  Navigate(Hlink, Cancel) Fired when a new hyperlink is being navigated to  StatusTextChange(Text) Statusbar text changed  Error(…) Fired when an error occurs  Quit(Cancel) Fired when application is quiting

? Questions