Microsoft KB Archive/277536

{|
 * width="100%"|

HOWTO: Write Visual Basic Components on Windows 2000 That Run in Microsoft Transaction Server

 * }

Q277536

-

The information in this article applies to:


 * Microsoft Transaction Server 2.0
 * Microsoft COM+, version 1.0

-

SUMMARY
You may want to develop ActiveX components in Visual Basic on a Windows 2000 development computer and use those components on a server that is running Windows NT 4.0. However, the Microsoft Transaction Server (MTS) Type Library does not appear in the References dialog box in the Visual Basic Integrated Development Environment (IDE).

MORE INFORMATION
On a Windows 2000 computer, COM+ replaces the MTS typelib entries in the registry with references to the new COM+ Type Library to provide binary-level compatibility with applications that are written for MTS.

If you want to reference the MTS type library, copy MTxAS.dll from the WinNT\System32\MTS folder on the Windows NT 4.0 server to the Windows 2000 computer. Then, in the References dialog box in Visual Basic, click Browse, and browse to MTxAS.dll. This sets a reference to the MTS Type Library in the current project. It also adds this type library to the list for inclusion in future projects.

Note Do not use Regsvr32.exe to register the MTS Type Library on Windows 2000 because this overwrites the registry entries for the newer COM+ Type Library.

Additional query words:

Keywords : kbCOMPlus kbDeployment kbMTS kbVBp kbDSupport

Issue type : kbhowto

Technology :