Presentation is loading. Please wait.

Presentation is loading. Please wait.

1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore Bostrup 1 Introduction to VB6 Materials & Prerequisites Course Outline Background Information.

Similar presentations


Presentation on theme: "1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore Bostrup 1 Introduction to VB6 Materials & Prerequisites Course Outline Background Information."— Presentation transcript:

1 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore Bostrup 1 Introduction to VB6 Materials & Prerequisites Course Outline Background Information

2 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 2 Materials & Prerequisites Book: Book: Sam’s Teach Yourself Visual Basic in 24 Hours Sam’s Teach Yourself Visual Basic in 24 Hours By Greg Perry with Sanjaya Hettihewa By Greg Perry with Sanjaya Hettihewa ISBN 0-672-31533-5 ISBN 0-672-31533-5 3 copies at Barnes & Noble (Harbison) on 1/27/2004 3 copies at Barnes & Noble (Harbison) on 1/27/2004

3 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 3 Materials & Prerequisites Software: Software: Visual Basic 6.0 Visual Basic 6.0 A Working Model in included with the book A Working Model in included with the book Course will target the VB 6 Professional Edition Course will target the VB 6 Professional Edition Check with MS for free 90 day trial edition Check with MS for free 90 day trial edition Participant CD Participant CD VB 6 Service Pack 5 VB 6 Service Pack 5 http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/default.aspx http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/default.aspx http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/default.aspx Microsoft Jet 4.0 Service Pack 8 Microsoft Jet 4.0 Service Pack 8 http://www.microsoft.com/downloads/results.aspx?productID=3D99F106-AA6D-4113-AE45- 30B61394B1E0&freetext=&DisplayLang=en Get the one that matches your system!!! http://www.microsoft.com/downloads/results.aspx?productID=3D99F106-AA6D-4113-AE45- 30B61394B1E0&freetext=&DisplayLang=en Get the one that matches your system!!! http://www.microsoft.com/downloads/results.aspx?productID=3D99F106-AA6D-4113-AE45- 30B61394B1E0&freetext=&DisplayLang=en http://www.microsoft.com/downloads/results.aspx?productID=3D99F106-AA6D-4113-AE45- 30B61394B1E0&freetext=&DisplayLang=en Microsoft Data Access Components (MDAC) downloads can be found from: Microsoft Data Access Components (MDAC) downloads can be found from: http://msdn.microsoft.com/data/downloads/updates/default.aspx http://msdn.microsoft.com/data/downloads/updates/default.aspx http://msdn.microsoft.com/data/downloads/updates/default.aspx Microsoft Data Access Components (MDAC) 2.7 SP1 Refresh Microsoft Data Access Components (MDAC) 2.7 SP1 Refresh http://www.microsoft.com/downloads/details.aspx?familyid=9ad000f2-cae7-493d-b0f3- ae36c570ade8&languageid=f49e8428-7071-4979-8a67-3cffcb0c2524&displaylang=en http://www.microsoft.com/downloads/details.aspx?familyid=9ad000f2-cae7-493d-b0f3- ae36c570ade8&languageid=f49e8428-7071-4979-8a67-3cffcb0c2524&displaylang=en http://www.microsoft.com/downloads/details.aspx?familyid=9ad000f2-cae7-493d-b0f3- ae36c570ade8&languageid=f49e8428-7071-4979-8a67-3cffcb0c2524&displaylang=en http://www.microsoft.com/downloads/details.aspx?familyid=9ad000f2-cae7-493d-b0f3- ae36c570ade8&languageid=f49e8428-7071-4979-8a67-3cffcb0c2524&displaylang=en MDAC Buffer Overrun Secrity Patch MS04-003 MDAC Buffer Overrun Secrity Patch MS04-003 http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/Bulletin/MS04- 003.asp http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/Bulletin/MS04- 003.asp http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/Bulletin/MS04- 003.asp http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/Bulletin/MS04- 003.asp

4 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 4 Materials & Prerequisites Software, Continued: Software, Continued: MSDN Library (October 2001 recommended) MSDN Library (October 2001 recommended) This contains the latest Online help for VB6 This contains the latest Online help for VB6 Included with VB6 Professional Edition Included with VB6 Professional Edition

5 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 5 Materials & Software Recommended – not required: Recommended – not required: MS Office Professional (Microsoft Access) MS Office Professional (Microsoft Access) Version 2000, XP, or 2003 should be OK Version 2000, XP, or 2003 should be OK Version 97 can be used, but beware of some minor differences in project setup and files required. Version 97 can be used, but beware of some minor differences in project setup and files required. Icon Editor Icon Editor If you want to create of customize icons for your applications. You can also use the icons included with VB or download icons from the web. Watch for copyrights, etc. If you want to create of customize icons for your applications. You can also use the icons included with VB or download icons from the web. Watch for copyrights, etc. Graphics editor Graphics editor Any application to create and/or edit graphics (images) if you want to “spiff” up your apps. Again, VB and the web are alternative sources. Any application to create and/or edit graphics (images) if you want to “spiff” up your apps. Again, VB and the web are alternative sources.

6 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 6 Materials & Software Bring (blank) Media for copying your work Bring (blank) Media for copying your work Floppy Disks Floppy Disks USB drives USB drives Watch for cheap keychain USB drives from local stores (OfficeMax have had them as low as $9.99 after rebates, I didn’t see any specials this week). Watch for cheap keychain USB drives from local stores (OfficeMax have had them as low as $9.99 after rebates, I didn’t see any specials this week). NOT CD-R’s NOT CD-R’s The computers do not have CD burners. The computers do not have CD burners.

7 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 7 Course Outline, Week 0 Background Information Background Information Computer Science Basics Computer Science Basics Binary Numbers Binary Numbers Data Types Data Types Instructions and Data Instructions and Data Compilers and Interpreters Compilers and Interpreters Variables and Assignments Variables and Assignments Object Orientation Basics Object Orientation Basics What is an object What is an object Visual Basic built-in “Objects” Visual Basic built-in “Objects” Windows Environment Basics Windows Environment Basics Message-based and Event-Driven Architecture Message-based and Event-Driven Architecture The different VB’s (VB, VBA, VBScript) The different VB’s (VB, VBA, VBScript)

8 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 8 Course Outline, Week 1 Getting Started with VB6 Getting Started with VB6 Installation & Setup of VB6 for development Installation & Setup of VB6 for development Launching VB6 Launching VB6 VB6 Settings VB6 Settings The VB6 IDE The VB6 IDE

9 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 9 Course Outline, Week 1 Your first app (Hello World) Your first app (Hello World) Running the application Running the application Calculating an approximation of PI Calculating an approximation of PI Very simple – use 22/7, but use controls for input/output Very simple – use 22/7, but use controls for input/output Designing a user interface Designing a user interface

10 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 10 Course Outline, Week 1 Adding code to your application Adding code to your application Visual Basic Statements Visual Basic Statements Simple Variable and Constant Declarations Simple Variable and Constant Declarations Assignment Statements and Expressions Assignment Statements and Expressions If … Then … Else … End If If … Then … Else … End If Accessing controls on the form Accessing controls on the form Control Properties, Methods, and Events Control Properties, Methods, and Events Simple controls: Simple controls: TextBox, Label, CommandButton, Timer TextBox, Label, CommandButton, Timer ListBox and ComboBox ListBox and ComboBox File, Directory, and Drive – example of control interaction File, Directory, and Drive – example of control interaction

11 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 11 Course Outline, Week 2 Loops Loops Select Case Select Case Operator Precedence Operator Precedence Arrays Arrays Data Type Conversion Data Type Conversion Variable Naming Conventions Variable Naming Conventions Object Reference Variables Object Reference Variables Object Instantiation Object Instantiation String Manipulation String Manipulation More controls (Option Button, CheckBox, Frame) More controls (Option Button, CheckBox, Frame) Control Arrays Control Arrays

12 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 12 Course Outline, Week 3 Debugging Debugging Error Handling Error Handling Comments Comments The App object The App object Procedures and Parameters Procedures and Parameters Using multiple forms Using multiple forms Launching a second form Launching a second form Passing data to and from a form Passing data to and from a form Multiple instances of a form Multiple instances of a form MDI forms MDI forms Unloading forms Unloading forms Adding Modules to project Adding Modules to project Variable Scope Variable Scope Variable Naming Conventions Variable Naming Conventions

13 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 13 Course Outline, Week 4 File I/O File I/O Intrinsic VB Statements Intrinsic VB Statements Scripting and the FileSystemObject Scripting and the FileSystemObject Common Dialogs Common Dialogs Adding References and Controls Adding References and Controls Coding Exercise: Coding Exercise: A simple text editor A simple text editor An error logging procedure An error logging procedure

14 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 14 Course Outline, Week 5 Graphics Graphics The PictureBox control The PictureBox control The Image control The Image control Icons Icons Graphics formats Graphics formats A simple picture viewer A simple picture viewer Using a picture as a background on a form Using a picture as a background on a form Drawing shapes Drawing shapes Printing Printing

15 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 15 Course Outline, Week 6 Dates Dates Caution: A date is not a date is not a date Caution: A date is not a date is not a date The Gregorian Calendar The Gregorian Calendar Drag-and-drop Drag-and-drop Collections Collections Classes Classes

16 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 16 Course Outline, Week 7 Database Applications Database Applications ADO – the ActiveX Data Object ADO – the ActiveX Data Object Relational Database basics Relational Database basics The DataControls The DataControls The Data Environment Designer The Data Environment Designer The Data Report Designer The Data Report Designer Developing an Unbound database app Developing an Unbound database app The DataGrid control The DataGrid control Dates – Again… Dates – Again… SQL Injection SQL Injection

17 1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore BostrupPage 17 Course Outline, Week 8 Advanced topics: Advanced topics: Different types of projects: Different types of projects: ActiveX Exe/DLL ActiveX Exe/DLL ActiveX Control ActiveX Control Add-ins Add-ins Other Other Windows API’s Windows API’s Active Server Pages – what are they? Active Server Pages – what are they? Best Practices Best Practices


Download ppt "1/26/2004 PPCC - Introduction to VB6 Copyright ©2004, Tore Bostrup 1 Introduction to VB6 Materials & Prerequisites Course Outline Background Information."

Similar presentations


Ads by Google