COM and Active-X for Visual Basic Developers |
Duration: 4 days |
|
|
- Application developers
- Programmers
- System designers
- Software architects
|
|
Experience with
Visual Basic is required. |
|
|
Description |
This
course covers the essential and most important aspects of implementing
reusable software components using Microsoft COM objects. COM
is the Microsoft strategy for software assembly, and the foundation
for technologies known as Active-X and DCOM. The course teaches
COM from the ground and up. In the course we will implement the
components using the latest version of Visual Basic. We will also
show how the COM components can be integrated into applications
and the WEB. The course uses revolutionary teaching techniques
that enhance the students understanding for component models and
basic object-oriented design. |
|
Objectives |
- Understand the COM /DCOM, and Active-X
- Know how to implement COM components using Visual Basic
- Understand the design techniques required to implement reusable COM components
- Know the common pitfalls of COM development
- Confidently be able to implement the COM technology in their organization
|
|
Course Outline |
Component Technology
Perspectives
- Components in code
- Components in applications
- Aggregation of components
- Interface vs. implementation
- Sub-typing
- Components in Visual Basic
Component Object Model
- History
- Binary compatibility
- The standard protocol
- Understanding IUnknown
- Understanding IDispatch
- Object-oriented distribution
- Proxy/target
- Creating COM objects
- Automation Servers
- In-Proc server
- Out-of-Proc server
Simple COM Components
- Creating a COM component
- Using the Wizard
- Interpreting the Wizard
- The property bag
- The ambient property
- The automation types
- Revisiting the variant type
- Properties of the UserControl
- Some implementation tricks
- Common pitfalls
| |
COM and the Operating System
- Understanding the Windows Registry
- The type library
- Registry cleanup
- The OCA files
Advanced COM
- Aggregation
- The COM API
- Dynamic creation of components
- Some implementation tricks
- Common pitfalls
COM and Databases
- Making your component data bound
- Adhering to the protocols
- Using COM to translate data
- Some implementation tricks
- Common pitfalls
Debugging COM Objects
- How to debug COM objects in Visual Basic
Incorporating COM Components
- COM objects in applications
- COM and the WEB
| |