You should take a look at the haxe programming language. I’ve never used it myself but it would seem that it can be compiled to JavaScript, Flash, NekoVM, PHP, C++, C# and Java (taken from http://haxe.org/). While VB.NET is not in there, C# can be pretty similar.
1
solved Convert VB.NET to either C, C++, or Java [closed]