Is there an easy way to convert visual basic to Java?

I developed an app using visual basic.
I’m trying to work with others now to improve it and market it.
It seems to me that visual basic is not the industry standard.
Is there a way, short of line by line translation, to convert it to Java?

Do you mean Java or JavaScript? They are very different languages.

No, its difficult because the two languages are put together differently. In VB, the language is compiled before it is run. For example you can put a statement like Go to “SomeTag” in VB.net and the code will find the tag because the compiler has assigned it an address… In JAVA it is an interpreted language so the “SomeTag” destination does not exist until it is read by the interpreter.
I’ve done a lot of this before and I suggest you first convert the VB.Net to C#.Net (which you can do mostly automatically with converters on the web), debug the C# code, and then start converting the C# to JAVA. This is because the C# is similar in structure to JAVA so you just need to watch out for stuff like goto’s etc that require a compiled result. Still, it’s a lot of hand translation.

Bob Briscoe

Do you mean Java or JavaScript? They are very different languages.