Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
C-7
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Appendix C      Migrating From CTI OS 6.0
Migrating a Visual Basic 6.0 to Use COM CIL
Migrating a Visual Basic 6.0 to Use COM CIL
For applications written with Visual Basic 6.0 that use the COM CIL there are two 
migration options available from which the developer needs to choose:
Warning
Make sure that the Cisco CTI OS 7.0 Toolkit to be installed in your development 
environment before you initiate any migration task.
  •
Migrate to Visual Basic .NET and use .NET CIL
  •
Migrate to visual Basic .NET and use CTIOS Active X Controls
Migrate to Visual Basic .NET and use .NET CIL
Since Visual Basic .NET applications by default target the .NET Framework, port 
the entire application to use native .NET components. For this task the developer 
will use the .NET CIL as replacement of COM CIL.
Step 1
Port Build Project
Using your development environment utilities port your current application build 
project to the new platform compatible with Visual Basic .NET and made all the 
adjustments required by migration tool. For example, to port the Microsoft Visual 
Basic 6.0 *.vbp project to the new Microsoft Visual Basic .NET.vbproj format, 
open the *.vbp project selecting Open\ Project from the File command menu in 
Microsoft Visual Studio .NET. For details refer to Microsoft’s Visual Studio.NET 
help on Visual Basic Concepts 
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vb
oriUpgradingFromVisualBasic60.asp)
Step 2
Use .NET CIL to Replace COM CIL
 After the project migration tool finishes a report will be presented containing the 
tasks to be performed in order to make the application build under Visual       Basic 
.NET. 
In the new project, replace all the references to COM and will add new references 
for .NET CIL