473,386 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Why bother with .Net language conversion?

There are various utilities that you can buy to convert VB.Net to C#
(C-Sharpener For Vb, Instant C#, etc.). I'm sure there are others that
convert C# to VB.Net. I don't understand the point of these tools. MS
designed .Net so that I can create assemblies in one language (VB for
instance) and call the assembly from a different language (C# for
instance).

Why bother to convert code from one language to another then? Are some
of you on projects that require everything to be in either C# or
VB.Net? Aren't the languages pretty much the same, so that it is easy
to move between the two?

Thanks for any insight.

Jim Lincoln
Jul 21 '05 #1
7 1323
Hey Jim,

We've been battling a problem here where two programmers are writing
solutions in different languages. Neither can effectively use the other's
stuff because neither knows the other's language of choice, which leads us
to often reinventing the wheel in our own apps. .NET gets somewhat around
this scenario with the CLR-compliance, but that still assumes that everyone
is "playing nice" and there's an overall architecture being kept in mind so
one can run the other's code. If not, programmer 1 has to borrow
programmer's 2 code then translate it to his own language and tweak it.
While VB's and C#'s usage of the same libraries makes it viable for one to
read the other's code it's still easier to have it translated before
tweaking.

More philosophically, IMHO, having each department or programmer write in
"whatever feels good" puts up barriers to having an overall understanding
between groups and who's doing--or perhaps more importantly, who has already
done--what.

Also, there are currently minor discrepancies in the capabilities of C# and
VB. As .NET continues, there will be more opportunities for these to
diverge.

Just one guy's take!

- John

"Jim Lincoln" <so*******@yahoo.com> wrote in message
news:21**************************@posting.google.c om...
There are various utilities that you can buy to convert VB.Net to C#
(C-Sharpener For Vb, Instant C#, etc.). I'm sure there are others that
convert C# to VB.Net. I don't understand the point of these tools. MS
designed .Net so that I can create assemblies in one language (VB for
instance) and call the assembly from a different language (C# for
instance).

Why bother to convert code from one language to another then? Are some
of you on projects that require everything to be in either C# or
VB.Net? Aren't the languages pretty much the same, so that it is easy
to move between the two?

Thanks for any insight.

Jim Lincoln

Jul 21 '05 #2
Even though the framework can run multiple languages, not everyone can
program in multiple languages and if your dev team have standardised on C#
or VB.NET then you'll get faster turnaround of code using a common language
unless you have a mixed language team. Also, its sometimes easier to
convert a peice of VB code than to try to compile it and get it working with
one language or the other, especially if its only a small bit of code. This
is particularly true in asp.net if you are not using the code behind
approach as you cant mix diffrent languages in the same page in an
uncompiled state.

Regards

John Timney
Microsoft Regional Director
Microsoft MVP

"Jim Lincoln" <so*******@yahoo.com> wrote in message
news:21**************************@posting.google.c om...
There are various utilities that you can buy to convert VB.Net to C#
(C-Sharpener For Vb, Instant C#, etc.). I'm sure there are others that
convert C# to VB.Net. I don't understand the point of these tools. MS
designed .Net so that I can create assemblies in one language (VB for
instance) and call the assembly from a different language (C# for
instance).

Why bother to convert code from one language to another then? Are some
of you on projects that require everything to be in either C# or
VB.Net? Aren't the languages pretty much the same, so that it is easy
to move between the two?

Thanks for any insight.

Jim Lincoln

Jul 21 '05 #3
One reason the converters are provided is to help people who find sample
source code in a language different from the one they're familiar with
covert it to something more easy to use.

"Jim Lincoln" <so*******@yahoo.com> wrote in message
news:21**************************@posting.google.c om...
There are various utilities that you can buy to convert VB.Net to C#
(C-Sharpener For Vb, Instant C#, etc.). I'm sure there are others that
convert C# to VB.Net. I don't understand the point of these tools. MS
designed .Net so that I can create assemblies in one language (VB for
instance) and call the assembly from a different language (C# for
instance).

Why bother to convert code from one language to another then? Are some
of you on projects that require everything to be in either C# or
VB.Net? Aren't the languages pretty much the same, so that it is easy
to move between the two?

Thanks for any insight.

Jim Lincoln

Jul 21 '05 #4
hai there,

i got a converter s/w called C-Sharpener For VB. but unfortunately i don't have it's serial key. Do you have that ?

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Jul 21 '05 #5
In an ideal world, the 2 languages would be completely compatible.
Unfortunately, the reality is that C# and VB are not 100% compatible
with each other... as soon as you have a referencing tree that goes VB
-> C# -> VB, you get into an awful mess. See my other post from today
in this forum on the subject...

Regards,
Saul
Jul 21 '05 #6
Saul Behr <go***************@sabreton.com> wrote:
In an ideal world, the 2 languages would be completely compatible.
Unfortunately, the reality is that C# and VB are not 100% compatible
with each other... as soon as you have a referencing tree that goes VB
-> C# -> VB, you get into an awful mess. See my other post from today
in this forum on the subject...


That has nothing to do with the languages, or even the .NET framework -
it's a VS.NET bug.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #7
> i got a converter s/w called C-Sharpener For VB. but unfortunately i don't have it's serial key. Do you have that ?

If you lost your serial key, you can probably contact the company that
makes the program and have them send it to you.

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Jul 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Charles | last post by:
Am looking to convert an app written in VB.NET to J2EE. Anyone know of a tool like Java Language Conversion Assistant which does this?
0
by: Charles Atwood | last post by:
I am trying to use the Java Language Conversion Assistant 2.0 with Visual Studio .NET 2003 on Windows 2000 Server SP4 and .NET framework 1.1 to convert some java files to C#. I go through all the...
6
by: Jim Lincoln | last post by:
There are various utilities that you can buy to convert VB.Net to C# (C-Sharpener For Vb, Instant C#, etc.). I'm sure there are others that convert C# to VB.Net. I don't understand the point of...
2
by: James Tillery | last post by:
We have an App which has hundreds of ASP pages with thousands of labels and strings. We also sell this to all different countries. What we have done is to create a txt file with a number and text...
5
by: Scott M. | last post by:
Why will this fail: (short) txtQty.Text and this succeed? Convert.ToInt16(txtQty.Text)
1
by: karunajo | last post by:
I want to convert the resources in page to multiple languages.tel me step by step.plz..
2
by: cmdolcet69 | last post by:
How can i handle message box string that are in English and convert what they display into Portuguese? Is there some sort of built in library that will do the conversion for me at run time? No to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.