Summary


COM isn’t going to go away for quite some time, so .NET applications have to interoperate with COM, and they have to do it well. By the end of this chapter, you have achieved several things:

  • You managed to make a .NET application early bind to a COM component, using the import features available in Visual Basic.

  • You looked at the underlying tool, Tlbimp.

  • You managed to make it late bind as well, although it wasn’t a pleasant experience.

  • You incorporated an ActiveX control into a .NET user interface, again using the features of Visual Basic.

  • You looked at using Regasm and TlbExp to export type libraries from .NET assemblies, in order to enable VB6 applications to use .NET assemblies as if they were COM components.




Professional VB 2005 with. NET 3. 0
Professional VB 2005 with .NET 3.0 (Programmer to Programmer)
ISBN: 0470124709
EAN: 2147483647
Year: 2004
Pages: 267

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net