Conclusion

Conclusion

The good news is that ActiveX controls and components are supported in Visual Basic .NET. Although there are some limitations in the support that is provided, you should not be hindered in upgrading Visual Basic 6 applications that are good candidates for Visual Basic .NET. For example, if you have a Visual Basic 6 middle-tier component that makes heavy use of ActiveX-based ADO objects, you can upgrade your component to a Visual Basic .NET class library component. All of your code that talks to the ActiveX ADO components will continue to work as is. You can then quickly take advantage of Visual Basic .NET by exposing some of your methods as WebMethods to be called over the Internet, for example.

If Visual Basic .NET did not allow you to make use of your existing ActiveX components, you would be devoting all of your energy to finding or creating .NET replacements for everything you are using. You would get bogged down just trying to get your application working again in the .NET environment. The ability to use ActiveX components frees you to focus only on those parts of your application that are critical to get working in .NET. This ability enables you to get up and running in .NET quickly.



Upgrading Microsoft Visual Basic 6.0to Microsoft Visual Basic  .NET
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET w/accompanying CD-ROM
ISBN: 073561587X
EAN: 2147483647
Year: 2001
Pages: 179

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