Code Converter VB.Net Project

Overview

Dot Net has a great boom in the present scenario due to its advantages like platform independent and language independent. Language independent is a major added advantage in .Net which helps developer to code in his known language and then compile it and execute it. Likewise after completing all the modules they made into one application by joining all those modules. Think over it,it is easy isn’t? Now if the developer has to go through the code which is developed in another language then here problem arises ,i.e, the coding language cannot be understood by him. This project helps the user to convert a particular language code into another language code. And complete files in one language can be converted into another language code.

Purpose

Instantly we can convert one language of .Net into another language. In this project we are trying to convert VB code into C# code and vice versa.

Scope

As of now we are dealing with only two languages of .Net.

  • C#
  • net

Features

The main features of this project are as follows:

Converting one language code into another language is the basic aim of this project. This conversion is been implemented basically in two different languages that is the converting the code into C# to VB and vice versa. If we consider the inner logics then converting certain lines of code from C# to VB and vice versa and also converting set of files directly from C# to VB and then saving the converted files into the desired location. The idea behind this project is to help out the persons who want the code in another language where in the person doesn’t have any knowledge about that language. This helps the person to save lot of time that is the time for learning the language and then implementing the code is very hectic job.

The Waterfall Model

Existing System

In the existing system we will not find any software or application where one language code can be converted directly into different language code. This makes the developer to look for a system which can convert one language code into another language code which helps the person in saving his valuable time that is in the present scenario if the user has to code a project in another language then he should learn the language code and then implement the project code or else he has to take the help of a person who knows the language. This makes the major drawback and the user may not find any other alternative for this process.

Software Architecture

Software Architecture

Problem Statement

The main motivation idea for this project is of converting one language code to another language.

But in the present scenario we will not find any application which will convert one language code to another. So by analyzing the drawback in the existing system we are trying to implement a application where in it directly converts one language code into another. Presently we are trying to implement with two different languages i.e., with C# and VB.

Proposed System

Considering the drawback in the existing system we are developing a converter where one language code can be converted to another language code and even one language project code to another language code. This helps the developer a lot in analyzing the code and reduces the time for converting one language code to another language code.

Advantages

  • Converting code from one language into another language
  • Reduces time in converting the code
  • Helps the user to implement the code in multiple languages without the knowledge of another language.

SYSTEM REQUIREMENT SPECIFICATION

Hardware Requirement

  • P4 and above
  • RAM 1GB and above
  • Hard disk 40GB and above

Software Requirements

  • Microsoft Framework 3.5
  • Microsoft C# 3.5
  • Microsoft Visual Studio2008IDE.

Project Description

   Let us consider the scenario where in for developing the larger application they divide the projects into modules   so that the complexity of the project reduces. If one particular module is easy to be done in one particular language then one group can proceed in that language and if another group with another language they can do their module in that language. Likewise after completing all the modules they are made into one application by joining all those modules. Suppose   the developer has to go through the code that is developed in another language then here the problem arises as that coding language cannot be understood by him.

This project helps the user to convert a particular language code(C#) into another language code(VB).Even the project files(C#) in one language code can be converted into another language code(VB).In the existing we don’t find any converters .

.Net   is language independent, if the team has multiple skill expertise C#, VB.net, developers can still work on the project with different skill set. Not every project is same we can create a lists of programs and convert them in one click. Thus with the use of .Net code converter with great ease we can convert the language codes.

Modules Description

The system after careful analysis has been identified to present with the following modules.

Convert s C# to VB (Statements)

The user gives set of C# statements as input. In this module these lines will be converted into VB statements and shows the converted lines as output.

Converts VB to C# (Statements)

The user gives set of VB statements as input. In this module these statements are into C# and these converted statements forms the output.

Convert Files From C# to VB

The user gives set of C# files as input and selects the destination path where the converted files are to be saved. The application will convert the given files into VB and then saves it in the selected location.

Convert Files From VB to C#

The user gives set of VB files as input and selects the destination path where the converted files are to be saved. The application will convert the given files into C# and then saves it in the selected location.

Output Screens:

Code in VB (Statements)

Code in VB (Statements)
Converted Statements in C#:
Converted Statements in Csharp
Opening a file directly:
Opening a file directly
Getting the content into the page:
Getting the content into the page
Converted Statements:
Converted Statements
Showing Error Message:
Showing Error Message
Saving the file:
Saving the file
Saved File content:
Saved File content
Converting C# to VB:
Converting C# to VB
Giving the content as input:
Giving the content as input
Converted Statements:

Giving File Content Directly:
Reading the content in the file
Reading the content in the file:
Converted Statements:
Saving the changed code into new file:
File in VB:
Converting Set of Files:
Giving Folder as Input:

CONCLUSION

In this project we have achieved converting one language code to another language code where in if the user gives code of one language then this project converts it into another language and then gives the converted code as output. This is been implemented for converting from C# to VB and VB to C# language codes. This is of two parts i.e., converting set of statements and giving the converted statements as output and converting set of files directly and saving the saved files in the user desired location and as well if there are any errors in conversion then the errors will also be shows as the syntax is concerned.

FUTURE ENHANCEMENTS

Adding future requirements is not about requirement management, rather it is about features that are identified during requirement analysis, which are not planned to be developed but it is anticipated that they will be developed as future enhancements. Describing such requirements is beneficial, especially when it is identified that these future requirements influence the overall architecture of the solution, so that addressing such requirements can be noted and integrated later.

Following are the future enhancements that can be realized in the time to come:

  • Converting the one language code into the desired language i.e., any OOPs supportable languages.
  • If the project is given as input then converting the complete project code of one language code into another language along with the designs in the project.

13 Replies to “Code Converter VB.Net Project”

Leave a Reply

Your email address will not be published. Required fields are marked *