- INDEX VB TO NET
- VBUC FEATURES
- LANGUAGE TRANSFORMATIONS
- PROJECT TYPES
Project Types (Exe, Libraries, Web)
VB6 programmers can create an ActiveX DLL or ActiveX EXE to allow multiple applications to share the same code. This procedure saves time because it requires the developer to write the code only once. It also allows extra time to debug the shared code. The library modification process becomes easier; it is necessary only to update the shared DLL/EXE files and all related applications will be automatically updated.
ActiveX DLLs and ActiveX EXEs are almost exactly the same in the way they are built and used. An ActiveX DLL’s code is executed within the main program's address space. It behaves as if the class was created within the main program’s code. Because the code lies inside the program’s address space, calling methods is very fast. An ActiveX EXE’s code runs in a separate process.
- The Visual Basic Upgrade Companion is able to upgrade ActiveX EXE and ActiveX DLL project types into their respective .NET equivalents. However the communication between projects must be configured and set from .NET after the automatic migration. Some recommended alternatives are:Remoting
- COM+
- Windows Communication Foundation (WCF)