Description
This is the fourth course in a five part series that will provide students with the knowledge to write a Microsoft Visual Basic-based application that accesses data from a database. In this course, students will learn to use ActiveX Data Objects to access and manipulate data sources. This course also addresses advanced database issues, such as data integrity and referential integrity.
Audience
This course is designed for programmers who need to create basic applications with Microsoft Visual Basic 6.0. Participants should have completed the first three courses in this series.
Prerequisites
(Currently no course prerequisite information)
Objective
- Use external COM components to extend the functionality of a Visual Basic 6.0 application.
- Build Visual Basic 6.0 COM components that can be reused by other applications.
- Test COM components, design good COM components and use Visual Component Manager.
Topics Include
Unit 1: COM Components: Client Side - Identify the steps involved in creating a client application.
- Set COM component availability.
- Set a reference to a COM component.
- Declare a specific object variable.
- Declare a generic object variable.
- Identify code to create an object.
- Define properties and methods for a COM component.
- Identify the features of callback procedures.
- Create an instance of Internet Explorer.
- Set properties for an instance of Internet Explorer.
- Call methods exposed by the Internet Explorer objects.
- Add an event procedure for the Internet Explorer object.
Unit 2: Building Reusable COM Components - Identify COM component types.
- Identify the differences between in-process and out-of-process components.
- Create a new ActiveX DLL or ActiveX EXE project.
- Set project properties for a COM component.
- Set the Instancing property for a class module.
- Write code to declare Friend properties and methods.
- Compile a project with class modules into a COM component.
- Set the version compatibility for a COM component.
- Select the options for registering and unregistering COM components.
Unit 3: Testing and Managing COM Components - Create a test project to test a COM component.
- Identify the tools available to debug a component.
- Clear a missing reference.
- Identify the principles for designing good COM components.
- Identify the features of Visual Component Manager.
- Publish a component.
- Find a component.
- Identify the characteristics of an object model.
- Identify the process for creating an object model.
- Identify code to store objects in a collection.
- Identify the different error-handling techniques.
- Identify the different methods of communicating errors from a component.
- Change the way Visual Basic 6.0 enters break mode when an error occurs in a code component.
Duration
8
Minimum Requirements
The CDROM version of this course requires:
- At least a 486DX 33Mhz CPU.
- Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
- At least 8MB RAM.
- At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
- At least a double speed CDROM drive.
- An MPC compliant sound card with attached speakers or headphones is recommended (Currently, only the CDROM version supports audio).
The network version of this course requires:
- At least a 486DX 33Mhz CPU.
- Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
- At least 8MB RAM and 22MB available hard disk space or file server space.
- At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
Media
CDROM
Web Based Training
|