The rule of thumb with converters is that any conversion is possible if the syntax of the source language can be expressed or nearly expressed in the syntax of the target language. David Anton www. Thanks for your kind suggestion.
However, I really don't think the creators of this site fully understand the issues involved with porting a complex language to a simple one. It might be fun to play with though. NET , and wanted to know if there are any recommended migration tools available that would help reduce the cumbersome effort of converting it line by line. Please help! Usually, ours does significantly better than 'nothing', although as I mentioned previously, library references are very difficult to convert - only ones having very close equivalents are attempted.
Ask a question. I cannot vouch for their VB to C converter though. If you already have VB. NET code though you might find it easier to simply build the assembly and then use JustDecompile or equivalent to reverse engineer it back into C. You'll lose commenting and whatnot but for a large code base it works. An additional option is Roslyn which can scan a source file.
It is still in beta and you'd have some learning to do but given the Roslyn model you should be able to spit back out the C equivalent. I'd either leave it as is or rewrite it myself I don't trust tools to convert the code even though they are doing a good job but they lack one thing context and intelligence, so unless you have tests in place that make sure the conversion passed successfully and that the code behaves as expected I wouldn't change anything and let it be.
The content you requested has been removed. Ask a question. Quick access. NET and Java programmers. Home Toolbox Convert VB. Convert VB.
We're now processing your upload. We've had to remove the automatic clipboard copying as Flash 10 and above requires user interaction. However, the copy to clipboard link does now work in FireFox 3 and Chrome. Please report any issues you come across! We will work to fix them and contribute them back to the develop project too. Viewed 3k times. Improve this question. Dela Dela 4 4 silver badges 9 9 bronze badges. Why do you want to convert that large an application between VB and C? The two languages are similar enough under the hood that it hardly seems worth the amount of work this is going to take.
Version 3. Add a comment. Active Oldest Votes. Improve this answer. Peter Mortensen Charles Graham Charles Graham That's a great question.
Right now, my day starts off in VB. Net 1. After about 18 months of working in two languages and seeing that every new project is written in C , it's become apparent that our team codes faster in C - but only because we spend so much time using it. I prefer c myself, but agree that I would much rather leave the VB. What is the value added by doing the conversion?
0コメント