Is it possible to use directly C# code into a VB project?
If not, is there any tool to convert from C# to VB.NET?
--
Regards,
Diego F. 8 1220
"Diego F." <di*******@terra.es> wrote in message
news:Oq**************@TK2MSFTNGP14.phx.gbl... Is it possible to use directly C# code into a VB project?
Not currently...
If not, is there any tool to convert from C# to VB.NET?
Several - Google it.
re: Is it possible to use directly C# code into a VB project?
No. Only one language per project is permitted.
You can, however, VB project(s) and C# project(s) in a single solution.
You can also do a command-line compilation of one of your projects
and add a reference to that assembly ( those assemblies ) in your other project.
re: If not, is there any tool to convert from C# to VB.NET?
This free online resource works pretty good : http://www.developerfusion.com/utili...btocsharp.aspx
Notice that you can go both ways.
If you prefer a desktop program,
the free SharpDevelop editor has a nifty conversion feature : http://www.icsharpcode.net/OpenSource/SD/
It will *only* translate *.vb and *.cs files, though.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"Diego F." <di*******@terra.es> wrote in message
news:Oq**************@TK2MSFTNGP14.phx.gbl... Is it possible to use directly C# code into a VB project?
If not, is there any tool to convert from C# to VB.NET?
-- Regards,
Diego F.
Hi Diego, Is it possible to use directly C# code into a VB project?
With Visual Studio.Net 2005 only, you can do this, not with previous
versions.
If not, is there any tool to convert from C# to VB.NET?
Not any good ones.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.
"Diego F." <di*******@terra.es> wrote in message
news:Oq**************@TK2MSFTNGP14.phx.gbl... Is it possible to use directly C# code into a VB project?
If not, is there any tool to convert from C# to VB.NET?
-- Regards,
Diego F.
We sell Instant VB, a C# to VB.NET converter. Download the Demo Edition at www.instantvb.com.
It's the only high-quality C# to VB.NET converter that:
1. Converts entire projects.
2. Converts ASP.NET pages.
3. Has a fully-supported demo.
David Anton www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# converter
and the Instant VB C# to VB.NET converter
"Diego F." wrote: Is it possible to use directly C# code into a VB project?
If not, is there any tool to convert from C# to VB.NET?
-- Regards,
Diego F.
"Not any good ones."
Before making such a blanket statement, try ours - Instant VB at www.instantvb.com.
David Anton www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# converter
and the Instant VB C# to VB.NET converter
"Kevin Spencer" wrote: Hi Diego,
Is it possible to use directly C# code into a VB project?
With Visual Studio.Net 2005 only, you can do this, not with previous versions.
If not, is there any tool to convert from C# to VB.NET?
Not any good ones.
-- HTH,
Kevin Spencer Microsoft MVP ..Net Developer Sometimes you eat the elephant. Sometimes the elephant eats you.
"Diego F." <di*******@terra.es> wrote in message news:Oq**************@TK2MSFTNGP14.phx.gbl... Is it possible to use directly C# code into a VB project?
If not, is there any tool to convert from C# to VB.NET?
-- Regards,
Diego F.
I'm using VS 2005 beta1. I add files, but it doesn't recognize the namespace
in VB classes.
In fact it is a complete project and I could generate the dll, but then I
have problems running in a network project. It runs locally, but when moving
to the server it throws security exceptions.
--
Regards,
Diego F.
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
news:OD**************@TK2MSFTNGP12.phx.gbl... Hi Diego,
Is it possible to use directly C# code into a VB project?
With Visual Studio.Net 2005 only, you can do this, not with previous versions.
If not, is there any tool to convert from C# to VB.NET?
Not any good ones.
-- HTH,
Kevin Spencer Microsoft MVP .Net Developer Sometimes you eat the elephant. Sometimes the elephant eats you.
"Diego F." <di*******@terra.es> wrote in message news:Oq**************@TK2MSFTNGP14.phx.gbl... Is it possible to use directly C# code into a VB project?
If not, is there any tool to convert from C# to VB.NET?
-- Regards,
Diego F.
You're right, David. I'm guilty of making an assumption. I should have said
"not any good ones that I know of." And now I'm not so sure. Your app may
indeed be capable of doing a very good direct translation. I wouldn't use
such a thing, as there are optimizations that can be performed when porting,
but these are not absolutely necessary, and it may well prove quite useful
to many developers.
Thanks for keeping me straight!
--
Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.
"David Anton" <Da********@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com... "Not any good ones." Before making such a blanket statement, try ours - Instant VB at www.instantvb.com.
David Anton www.tangiblesoftwaresolutions.com Home of the Instant C# VB.NET to C# converter and the Instant VB C# to VB.NET converter
"Kevin Spencer" wrote:
Hi Diego,
> Is it possible to use directly C# code into a VB project?
With Visual Studio.Net 2005 only, you can do this, not with previous versions.
> If not, is there any tool to convert from C# to VB.NET?
Not any good ones.
-- HTH,
Kevin Spencer Microsoft MVP ..Net Developer Sometimes you eat the elephant. Sometimes the elephant eats you.
"Diego F." <di*******@terra.es> wrote in message news:Oq**************@TK2MSFTNGP14.phx.gbl... > Is it possible to use directly C# code into a VB project? > > If not, is there any tool to convert from C# to VB.NET? > > -- > Regards, > > Diego F. >
Hi Diego,
I did cover the security exception you described in my reply to your other
thread about the exception. that is a simple Assembly Trust issue.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.
"Diego F." <di*******@terra.es> wrote in message
news:Ob**************@TK2MSFTNGP15.phx.gbl... I'm using VS 2005 beta1. I add files, but it doesn't recognize the namespace in VB classes.
In fact it is a complete project and I could generate the dll, but then I have problems running in a network project. It runs locally, but when moving to the server it throws security exceptions.
--
Regards,
Diego F.
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> escribió en el mensaje news:OD**************@TK2MSFTNGP12.phx.gbl... Hi Diego,
Is it possible to use directly C# code into a VB project?
With Visual Studio.Net 2005 only, you can do this, not with previous versions.
If not, is there any tool to convert from C# to VB.NET?
Not any good ones.
-- HTH,
Kevin Spencer Microsoft MVP .Net Developer Sometimes you eat the elephant. Sometimes the elephant eats you.
"Diego F." <di*******@terra.es> wrote in message news:Oq**************@TK2MSFTNGP14.phx.gbl... Is it possible to use directly C# code into a VB project?
If not, is there any tool to convert from C# to VB.NET?
-- Regards,
Diego F.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Russ |
last post by:
Hello. I have a very large business application written all in VC++
and MFC. Now I want to interface some of it to the web. I have
VS.NET2003 and have been studing walkthroughs and documentation...
|
by: Dan |
last post by:
I'd like to have a set of more-or-less common code which I want to use for
both desktop and smart device projects. I have two questions:
1. How can I set up conditional compile directives for...
|
by: Vaclav Jedlicka |
last post by:
Hi all
Is it possible to create an ASP.NET project from code?
Thanks in advance
Vaclav
|
by: Peter Row |
last post by:
Hi,
Can someone give me a set of steps for an ASP.NET project (well actually its
just a
VB.NET class DLL that implements HttpHandler) that will work when moved
to another developers machine?
...
|
by: Peter Olcott |
last post by:
Cab you write code directly in the Common Intermediate language? I need to
optimize a critical real-time function.
|
by: Rex |
last post by:
Hi All - I have a question that I think MIGHT be of interest to a
number of us developers. I am somewhat new to VIsual Studio 2005 but
not new to VB. I am looking for ideas about quick and...
|
by: lawrence k |
last post by:
I've made it habit to check all returns in my code, and usually, on
most projects, I'll have an error function that reports error messages
to some central location. I recently worked on a project...
|
by: Larry Bud |
last post by:
Been working with .net 2 since January, and am in the middle of my
first large project.
It's becoming obvious that one must organize their code well in a
large project to make maintenance...
|
by: Iluvatar |
last post by:
Hi,
last week our project upgraded from vs.net 2005 to vs.net 2008. Our
project still uses framework 2.0, because the deployment servers are
not 3.x ready yet. Everything so far while migrating...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |