Conversion of a Visual Basic 6 Application to Visual Basic
FAK EKI
Margaret Mburu and Robert Josefson
Conversion of a Visual Basic 6 Application to Visual Basic .NET
Subject C-level thesis
Date/Term: 08-06-03
Supervisor:
Donald F. Ross
Examiner:
Martin Blom
Serial Number: C2008:06
Karlstads universitet 651 88 Karlstad
Tfn 054-700 10 00 Fax 054-700 14 60
Information@kaiu.se kau.se
Conversion of a Visual Basic 6 Application to Visual Basic .NET
Margaret Mburu and Robert Josefson
ii
This report is submitted in partial fulfillment of the requirements for the Bachelor's degree in Computer Science. All material in this report which is not our own work has been identified and no material is included for which a degree has previously been conferred.
Approved 080603 Advisor: Donald F. Ross Examiner: Martin Blom
iii
Abstract
This dissertation describes the process of converting an application from Visual Basic to a .NET programming language. This work was carried out on behalf of The Prevas Company [0] based in Karlstad, Sweden. Prevas provides IT solutions and industrial systems for several world leading companies such as Ericsson, Nokia, Siemens and many others. The objective behind the conversion of this application was to facilitate a more compatible and flexible option suitable for the other products using the .NET environment. In addition, Prevas felt that the Visual Basic 6 environment had grown rather old and outdated. The task was therefore to convert the source code from Visual basic 6 to .NET language and to determine the most efficient method for the conversion. The outcome of this project was to achieve a fully converted application using the .NET framework with its original functionality intact.
iv
Contents
1 Introduction ...................................................................................................................1
1.1 Document Outline ..................................................................................................2
2 Background....................................................................................................................3
2.1 Visual Basic 6.0......................................................................................................3
2.2 Visual Basic 6.0 Features........................................................................................3
2.3 .NET Framework....................................................................................................4
2.3.1 Common Language Runtime 2.3.2 Compilation 2.3.3 .NET Framework - Class Library 2.3.4 Other .NET Related Languages 2.3.5 C# (SHARP)
2.4 Differences between Visual Basic 6 and Visual ....................................7
2.4.1 Multithreading 2.4.2 Object Oriented Feature 2.4.3 Console Applications 2.4.4 Memory Management 2.4.5 Runtime Environment 2.4.6 Data Types and Properties 2.4.7 Declaration and Initialization of Variables 2.4.8 Structures and User ? Defined Types 2.4.9 Arrays 2.4.10 Fixed Length Strings 2.4.11 Structured Exception Handling 2.4.12 Compatibility 2.4.13 Security 2.4.14 Forms
3 Conversion Process......................................................................................................15
3.1 Language Decision: ..............................................................................................16
3.2 Before the Conversion ..........................................................................................16
3.3 Results..................................................................................................................17
3.4 Compile Errors .....................................................................................................17
3.4.1 Property was not Upgraded (Compile error). 3.4.2 Declaring a parameter 'As Any' is not supported 3.4.3 Unable to determine which constant to upgrade vbNormal to 3.4.4 Number of Indices Exceeds the Number of Dimensions of the Indexed Array 3.4.5 Other Possible Compile Errors
v
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- professional vb6 web programming by collectif
- home about us products consulting support
- visual basic currency converter moo ict
- 17 reasons for using a support library in vb migration
- programming visual
- implementation of rs 485 communication between plc and pc
- visual basic 6 0 projects free download with source code
- white paper migrating from vb6 to c with vb migration
- framework migration from visual basic 6 vb6 to reactjs
- visual basic 6 database how to hbc
Related searches
- visual basic codes for excel
- visual basic for excel examples
- visual basic for beginners excel
- excel visual basic programming examples
- visual basic examples for beginners
- microsoft visual basic for excel
- excel visual basic tutorial pdf
- visual basic for beginners pdf
- microsoft visual basic tutorial pdf
- visual basic programs with codes
- visual basic book pdf download
- visual basic programming for beginners