List of Listings

Chapter 1: Introduction to .NET

Listing 1-1: Using Namespaces in .NET
Listing 1-2: Simplifying Use of Namespaces in .NET
Listing 1-3: Error handling using VBScript
Listing 1-4: Error handling in ASP.NET
Listing 1-5: Class Definition in VB.NET
Listing 1-6: Property Definition in VB.NET
Listing 1-7: Subclassing in VB.NET

Chapter 3: Migrating from ASP to ASP.NET

Listing 3-1: A Sample Web.config File
Listing 3-2: Forms Authentication
Listing 3-3: Trace Element Settings
Listing 3-4: The Login.aspx File
Listing 3-5: The Login.aspx.cs File
Listing 3-6: The welcome.aspx File
Listing 3-7: The Welcome.aspx.cs File
Listing 3-8: The Web.config File
Listing 3-9: Creating the Conn.asp File
Listing 3-10: Creating the Login.html File
Listing 3-11: Creating the loginhandle.asp File
Listing 3-12: Creating the complaint.asp File
Listing 3-13: Creating the comphandle.asp File
Listing 3-14: Creating the checkstat.asp File
Listing 3-15: Creating the checkstathandle.asp File
Listing 3-16: Creating the admin.asp File
Listing 3-17: Creating the changepass.asp File
Listing 3-18: Creating the changepasshandle.asp File
Listing 3-19: Creating the viewcomp.asp File
Listing 3-20: Creating the responseview.asp File
Listing 3-21: Member Variables of the Loginhandle Class
Listing 3-22: The ValidateInformation() Method
Listing 3-23: Importing Namespaces
Listing 3-24: Utilizing Namespaces in the loginhandle.vb File
Listing 3-25: The Complaint Monitoring System Application's Web.config File

Chapter 4: Migrating from ADO to ADO.NET

Listing 4-1: The SalesYear.cls File
Listing 4-2: The SalesCustomer.cls File
Listing 4-3: The SalesProduct.cls File
Listing 4-4: The frmMain.frm File
Listing 4-5: The frmSalesYear.frm File
Listing 4-6: The frmSalesCustomer.frm File
Listing 4-7: The frmSalesProduct.frm File
Listing 4-8: The SalesYear.asmx File
Listing 4-9: The SalesCustomer.asmx File
Listing 4-10: The SalesProduct.asmx File
Listing 4-11: The frmMain.vb File
Listing 4-12: The frmSalesYear.vb File
Listing 4-13: The frmCustomerYear.vb File
Listing 4-14: The frmSalesProduct.vb File

Chapter 5: Migrating Visual Basic 6.0 Applications to Visual Basic.NET

Listing 5-1: Inheritance Between Two Classes
Listing 5-2: Implementing Method Overloading
Listing 5-3: Exception Handling in VB.NET
Listing 5-4: Creating the OrderTracking Database
Listing 5-5: The OrderStatus.cls File
Listing 5-6: The Module1.bas File
Listing 5-7: The frmLogin.frm File
Listing 5-8: The frmApplicationManager.frm File
Listing 5-9: The frmPlaceOrder.frm File
Listing 5-10: The frmViewOrderStatus.frm File
Listing 5-11: The frmUpdateOrderStatus.frm File
Listing 5-12: A Fragment of the cmdLogin_Click() Method
Listing 5-13: A Fragment of the frmApplicationManager.vb File
Listing 5-14: Modified Code of the txtOrderId_Keypress() Method

Chapter 6: Migrating From Visual C++ to Visual C++.NET

Listing 6-1: Creating a Simple Console Application in VC++.NET
Listing 6-2: Using Managed Operators
Listing 6-3: Handling Exceptions in Managed Extensions
Listing 6-4: Abstract Class using Managed Extensions
Listing 6-5: Using the __identifier Keyword
Listing 6-6: Using the __sealed Keyword
Listing 6-7: Using the __typeof Keyword
Listing 6-8: Using Destructors in Managed Classes
Listing 6-9: Compiler Generated Finalization Code
Listing 6-10: Using Message.dll
Listing 6-11: Using PInvoke in Managed Extensions
Listing 6-12: The Student Database Schema
Listing 6-13: The DataAccess.h File
Listing 6-14: The DataAccess.cpp File
Listing 6-15: Adding Reference to ADO and StudentData Library
Listing 6-16: The AddressBookDlg.h File
Listing 6-17: The AddressBookDlg.cpp File
Listing 6-18: The Student.cpp File:
Listing 6-19: The Form1.h File
Listing 6-20: The Form1.cpp File



Migrating Unmanaged Applications to. NET
Migrating Unmanaged Applications to. NET
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 31

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