Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.

Slides:



Advertisements
Similar presentations
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Advertisements

Using VB with MS Applications R. Juhl, Delta College.
Using Macros and Visual Basic for Applications (VBA) with Excel
With Microsoft Excel 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2010.
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Chapter 6 Multiform Projects Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
FIRST COURSE Getting Started with Microsoft Office 2007.
1 Chapter 12 Working With Access 2000 on the Internet.
Integrating Access with the Web and with Other Programs.
Automating Tasks With Macros
Using Visual Basic 6.0 to Create Web-Based Database Applications
Exploring Office Grauer and Barber 1 Creating More Powerful Applications: Introduction to VBA(Wk9)
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
PowerPoint 2002 Linking Video in Presentation and Delivering Presentation on the Road.
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
FIRST COURSE Getting Started with Microsoft Office 2007.
Using the Visual Basic Editor Visual Basic for Applications 1.
Customizing Menus and Toolbars. Manipulating Command Bars Customize: –Right-click any place on a command bar and cick Customize … Customize window: –Toolbars,
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore Bostrup 1 Introduction to VB6 Materials & Prerequisites Course Outline Background Information.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
Excel Lesson 14 Creating and Using Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
Visual Basic: An Object Oriented Approach 12 – Creating and using ActiveX objects.
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 2Advanced Reports, Access Tools, and Customizing Access Chapter 7Automating, Customizing, and.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
McGraw-Hill/Irwin Programming in Visual Basic 6.0 © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Update Edition Chapter 6 Multiple Forms.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Chapter 11: Introduction to the Visual Basic Environment Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
Appendices A - F A-F Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Excel Integration Feature Object Linking and Embedding (OLE) and Web Discussions.
‘Tirgul’ # 7 Enterprise Development Using Visual Basic 6.0 Autumn 2002 Tirgul #7.
1 ADVANCED MICROSOFT POWERPOINT Lesson 10 –Using Advanced Presentation Features Microsoft Office 2003: Advanced.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
McGraw-Hill © 2009 The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Multiform Projects.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
FIRST COURSE Integration Tutorial 1 Integrating Word and Excel.
FIRST COURSE Getting Started with Microsoft Office 2007 COM111 Introduction to Computer Applications.
Access Lesson 11 Creating and Running Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
P6 BTEC Level 3 Subsidiary Diploma in ICT. Automation The end user of a spreadsheet may be proficient in using the software, but the more that you automate.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Chapter 11: Introduction to VBA Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Introduction to Excel VBA UNC Charlotte CPE/PDH Series December 17, 2009.
XP Tutorial 8 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Object Linking and Embedding Tutorial 8.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Form Design.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Creating New Forms Projects can appear more professional when using different windows for different types of information. Select Add Windows Form from.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
XP Creating Web Pages with Microsoft Office
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 12 Introducing Visual Basic for Applications Microsoft Office Excel.
Chapter 6 Programming with Office 97
Microsoft Excel 2003 Illustrated Complete
Microsoft Office Access 2003
Microsoft Office Access 2003
Presentation transcript:

Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San Diego

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Ch15: Advanced Topics in VB  Using ActiveX controls  Linking from VB to a Web site  Include DLL procedures in your projects  Understand Windows API  Use OLE container  VB and VBA  Differentiating between MDI and SDI interfaces

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Introduction  Windows programs have access to other objects through –ActiveX controls –OLE (Object Linking and Embedding) –DLLs (Dynamic Link Libraries)  MDI interface allows multiple forms within an application—such as Excel or Word

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill ActiveX Controls  Refers to executable files, controls (COM), and DLLs that are used in multiple applications  Microsoft refers to any controls as ActiveX controls.  They can be home brew or part of a package  VB controls are called intrinsic controls  Controls that are added are called components

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill ActiveX Controls  Tabbed dialog box has several properties that can be set at design or run time  Click the builder button in the tab’s Custom property  Place controls on tabbed dialog boxes by manually drawing them—double-clicking a tool places the control on every tab page

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill ActiveX Controls (cont'd)  You can also purchase ActiveX controls  ActiveX control files end in.OCX or.VBX  Project, Components lists controls—most are.OCX  The Web Browser control allows you to browse the Web from VB—control is one of the extra components

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Creating ActiveX Controls  Select ActiveX control, ActiveX EXE or ActiveX DLL in the New Project dialog box  Create an ActiveX control comprising a calendar control, a text box, and a command button

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Dynamic Link Libraries  Libraries store frequently used procedures  Windows uses dynamic link libraries (DLLs) so store collections of executable procedures  Windows DLL procedures are available to VB programs  DLLs that are used to move/resize windows are called APIs (application programming interfaces)  Most DLLs require arguments that you pass to them

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Calling a DLL Procedure  Call a procedure within the scope of a declare statement  Arguments to procedure can be constants or variables  Windows provides an API viewer to get help on DLL procedures

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Object Linking and Embedding  OLE allows you to link or embed objects from another application into VB project  Linking: access object maintained by another program; shared object stored elsewhere  Embedding: object and ref. to application managing object are stored in your project

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Visual Basic for Applications (VBA)  Microsoft office products include VBA for writing procedures to automate office applications (Excel, Word, etc.)  Record Excel macros that accomplish a series of steps  Macros are stored as VBA code  Open code and inspect it

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Multiple Document Interface (MDI)  MDI interface is one in which several child forms can be open with a larger, parent form  Word and Excel both are examples of MDI  You can open, close, and resize each child window (form)

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill Defining Shortcut Menus  Create shortcut menus (right-click accessible menus) with the Menu Editor  Clear the visible checkbox of a shortcut menu so it is invisible until the user calls for it  Code is required to display the shortcut menu

Copyright© 2000 by the McGraw-Hill Companies, Inc.Irwin/McGraw-Hill The Report Designer  VB’s Report Designer creates a printed report  Reports based on a database use the Data Environment  Once created, use Show to display it on screen or print it with the PrintReport method  A report design is its template