You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

theuserbl

Intermediate

  • "theuserbl" started this thread

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

1

Wednesday, March 9th 2011, 9:18pm

Linklist: Converter in the Internet

Hi!

I have looked how Microsoft creates with VB.NET and C# the same code.
With .NET Reflector you can decompiler .net programs to C#, VB.NET and so on.
But to convert direct the sourcecode there existing surprisingly a lot of online converters in the internet:
http://www.developerfusion.com/tools/convert/vb-to-csharp/
http://www.developerfusion.com/tools/convert/csharp-to-vb/
http://www.dotnetspider.com/convert/vb-to-csharp.aspx
http://converter.telerik.com/
http://authors.aspalliance.com/aldotnet/…/translate.aspx
http://www.digitalcoding.com/tools/code-…-vb-csharp.html
I like them. Because with them it easy to see, how in the .net-world a program in C#-syntax looks like in VB.NET and the other way around.

Then there are offline-tools, which doijng it, where the sourcecode of the tools are published:
http://msdn.microsoft.com/en-us/magazine/cc163652.aspx
http://msdn.microsoft.com/en-us/magazine/cc163946.aspx
http://www.codeproject.com/KB/cs/gbvb.aspx

A converter, which converts from VB6 files:
http://www.vbto.net/

And - I haven't tested it currently - a converter which converts between a lot of languages.
http://tangiblesoftwaresolutions.com/
It uncludes also a "VB to Java Converter":
http://tangiblesoftwaresolutions.com/Pro…er_Details.html

Here comparisons between C# and VB.NET:
http://en.wikipedia.org/wiki/Comparison_…sual_Basic_.NET
http://www.harding.edu/fmccown/vbnet_csharp_comparison.html
http://www.codeproject.com/KB/dotnet/vbn…difference.aspx
http://www.scribd.com/doc/399154/Differences-VBNET-vs-CSharp
http://visualstudiomagazine.com/articles…bnet-and-c.aspx

And a comparision between Java and C#
http://www.javacamp.org/javavscsharp/
http://www.25hoursaday.com/CsharpVsJava.html
http://en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Java
http://www.harding.edu/fmccown/java_csharp_comparison.html

This liks are for me, too. Because from time I searched for it again and again.
So here they are all on one central place.

Oh, and here the two most advanced free Java-decompilers, to see how Jabaco-created class-files looking in Java:
http://java.decompiler.free.fr/?q=jdgui
http://www.varaneckas.com/jad

And here VB6 to VB.net comparisions (Links added 11.03.2011)
http://www.thescarms.com/vbasic/VB6vsVBNet.aspx
http://msdn.microsoft.com/en-us/library/aa260644.aspx
http://www.dotnetspider.com/resources/38…Visual-Bas.aspx
http://www.e-booksdirectory.com/details.php?ebook=1342
http://msdn.microsoft.com/en-us/vbasic/ms788236.aspx
http://dotnet.sys-con.com/node/46335
http://dotnet.sys-con.com/node/46609
http://dotnet.sys-con.com/node/47761
... and the PDF-files
http://www.philadelphia.edu.jo/courses/VB.NET/AliWood.pdf
http://www.willydev.net/descargas/Partne…v_VBMig2005.pdf

This post has been edited 5 times, last edit by "theuserbl" (Mar 11th 2011, 10:13pm)


theuserbl

Intermediate

  • "theuserbl" started this thread

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

2

Friday, March 11th 2011, 8:18pm

I have tried out the demos at
http://www.tangiblesoftwaresolutions.com/
for code snippets.
Intrestingly in VB.net existing - in comparision to VB6 - more keywords. Some could also be interesting for Jabaco.

Currently I have found two intresting one.
Currently there existing the keywords
And ' in C/C++/C#/Java: &
Or ' in C/C++/C#/Java: |

(bit-wise operators)

But in VB.net existing additional
AndAlso ' in C/C++/C#/Java: &&
OrElse ' in C/C++/C#/Java: ||

(logic operators)

But where VB6 using the bitwise-one in logical context.

And Jabaco compiles a

Jabaco Source

1
2
3
If a=3 And b=4 Then
  c = 1
End If
to

Jabaco Source

1
2
3
if (((a != 3 ? 0 : 1) & (b != 4 ? 0 : 1)) != 0) {
  c = 1;
}

Rate this thread
WoltLab Burning Board