Click here to Skip to main content
15,884,943 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi everyone,

I'm extremly new to this and (I'm just an intern/apprentice in an office) trying to understand /mess with some programs.

Is there a way to convert a c# project (i.E. Simple Active directory Browser: Simple Active Directory Browser[^] into vb.net? I startet learning a book ("Windows scripting lernen" - Holger Schwichtenberg) and currently it is easier for me to understand vb ...

I'm using Visual Studio Community 2015.

Any help would be appreciated and thanks for taking your time reading /understanding my problem : )

(Sorry for my bad english - not my native language)
Posted
Comments
Wombaticus 1-Dec-15 6:09am    
Double-posting is frowned upon....
http://www.codeproject.com/Messages/5167956/Converting-a-csharp-project-into-vb-net.aspx

1 solution

Why don't you just use the dll compiled from the VB code? VB and C# produce the same .NET IL code. So compiled dll from C# will be usable in your VB project.

If, on the other hand, your goal is to learn how to translate, having it done by a tool would defeat the purpose. Better learn the basics of C# and translate to VB yourself; it will be much more educative.

Otherwise, there exist some free tools to do the conversion; a simple 'c# to vb.net' search on google leads to about 16,600,000 results :)
 
Share this answer
 
Comments
Philippe Mori 1-Dec-15 12:41pm    
However, converted code is not always as readable as the original code as some information like the type of loop is lost in IL. So knowing source langage is still very isefull.

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