Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi every one.
Any one tell me is it possible to convert VB application to C sharp. if it is possible then tell me how can i do i have a Big POS application that develop in VB and now i want to convert this application into C sharp and make some Changes in Application i have a complete Source code of VB application but i don't know how can i convert it to C sharp.
Please any one help me its urgent.
Thanks in advance

What I have tried:

I have no idea how can i do this
Posted
Updated 9-Oct-18 5:56am

If it's a "proper" .NET VB app, then there are online converters that may help: Code Converter C# to VB and VB to C# – Telerik[^] for example.

Other than that, learn e'em both, and off you go...
 
Share this answer
 
Comments
Fahid Zahoor 8-Oct-18 16:13pm    
Application is develop in VB not in .Net framework
but its a big project for POS of restaurant and also dial up modem is connect wit VB application.
is it possibility to convert application with complete feature.
Thanks for your response
Dave Kreskowiak 8-Oct-18 18:56pm    
Of course it's possible. You're just going to have to know both languages and the .NET Framework and then recode the app by hand in C#.
OriginalGriff 9-Oct-18 1:45am    
A VB6 or previous app, and you want to convert that to C#?

Don't even think about it. What you will end up with a a mess that is next to impossible to maintain. Your best solution - and I know you don't want to hear this - is to use the existing app as a specification, and write a new app in C# from scratch to do the same job, but based on the structures, classes and framework that C# supports. You will get a much better result.

What you are suggesting is similar to having a 1930's Model T Ford, and trying to convert it to a modern family car. You could do it, but what you end up with is not recognisable as either, and will cost you a fortune.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900