Interoperabilidade COM (Visual Basic)
The Component Object Model (COM) allows an object to expose its functionality to other components and to host applications. Most of today's software includes COM objects. Although .NET assemblies are the best choice for new applications, you may at times need to employ COM objects. This section covers some of the issues associated with creating and using COM objects with Visual Basic.
Nesta seção
Introdução à interoperabilidade COM (Visual Basic)
Provides an overview of COM interoperability.Como: Referenciar Objetos COM a partir do Visual Basic
Covers how to add references to COM objects that have type libraries.Como: Trabalhar com controles ActiveX (Visual Basic)
Demonstrates how to use existing ActiveX controls to add features to the Visual Studio Toolbox.Passo a passo: Chamando APIs do Windows (Visual Basic)
Steps you through the process of calling the APIs that are part of the Windows operating system.Como: chamar APIs do Windows (Visual Basic)
Demonstrates how to define and call the MessageBox function in User32.dll.Criando objetos COM com o Visual Basic
Steps you through the process of creating COM objects with and without the COM class template.Solucionando problemas de interoperabilidade (Visual Basic)
Covers some of the problems you may encounter when using COM.Interoperabilidade COM em aplicativos .NET Framework (Visual Basic)
Provides an overview of how to use COM objects and .NET Framework objects in the same application.Passo a passo: Implementando a herança com objetos COM (Visual Basic)
Describes using existing COM objects as the basis for new objects.
Seções relacionadas
Interoperação com Código Não Gerenciado
Describes interoperability services provided by the common language runtime.Expondo componentes COM para o.NET Framework
Describes the process of calling COM types through COM interop.Expondo.NET Framework para COM
Describes the preparation and use of managed types from COM.Aplicando atributos de interoperabilidade
Covers attributes you can use when working with unmanaged code.