Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i´m trying to convert a windows forms app forms from vb to c# and i´m want to find a way to make this jump whitout creating a new c# winforms
Posted

 
Share this answer
 
v2
If you are using VB6, the VB.net edition will try to upgrade your application to .net.

If you are using VB.net you can look at SharpDevelop http://sharpdevelop.net/opensource/sd/[^]
which will convert VB.net to C#.

(for vb6 to .net be prepared for a major redo of your application)
 
Share this answer
 
If you have a working VB.net program (at least compilable, that is)
you can load the exe file into .NET Reflector (www.reflector.net),
show the dis-assembly window, then using the combobox in toolbar
specify the language to display, C# in this case.

The resulting code has none of the original comments and any code
that was not compiled due to a #if-#else-#endif is lost but
Reflector is a great tool.
 
Share this answer
 

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