473,378 Members | 1,507 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,378 software developers and data experts.

Hybrid Project

A.M
Hi,

Can I have both C# and VB.NET pages/modules in a visual studio.net project?

Thanks,
Ali
Nov 18 '05 #1
5 1662
Currently you can use multiple languages within a solution, but only one
language per project.
Things should get even more flexible in .NET 2.0.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"A.M" <IH*******@sapm123.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

Can I have both C# and VB.NET pages/modules in a visual studio.net project?
Thanks,
Ali

Nov 18 '05 #2
I did this once when I was playing with the Beta version of VS.NET. If I
recall correctly, I had a C# web project, and a VB.NET one. I copied a
vb.net webform, along with its codebehind into the C# project, and added it
to the project. Everything seemed to work well

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...
Currently you can use multiple languages within a solution, but only one
language per project.
Things should get even more flexible in .NET 2.0.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"A.M" <IH*******@sapm123.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

Can I have both C# and VB.NET pages/modules in a visual studio.net

project?

Thanks,
Ali


Nov 18 '05 #3
"A.M" <IH*******@sapm123.com> wrote in news:#FybERv4DHA.2624
@TK2MSFTNGP09.phx.gbl:
Can I have both C# and VB.NET pages/modules in a visual studio.net project?


AFAIK yes. You might have to load two projects into one solution.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 18 '05 #4
Hi Ali,
Thanks for posting in the community! My name is Steven, and I'll be
assisting you on this issue.
From your description, you'd like to know whether it's possible to have
both C# and VB.NET pages/modules in a visual studio.net project? Or in
other words whether it possible to use multi language to develop in the
same project?
If there is anything I misunderstood, please feel free to let me know.

As for this problem, here is my suggestions:
Generally, the dotnet support multi-languages, that "Multi-language" is
based on component level(assembly level) colaboration. For example, we use
C# to build a .net component and then use it in a VB.NET project and also
the contrary. And normally as others' suggestion, we can build a solution
and create multi projects developed under different lanugage such as C# ,
VB.NET or c++ ... to generate the different parts of components of a whole
big solution. But as for the "VB.NET pages/modules in a visual studio.net
project", I think it is something like use multi language to develop a
single .net project. This is not recommended or supported by the dotnet
development documenation. Also, I think there'll occur some unexcepted
errors if you do such operations in a certain .net project within VS.NET.
So I recommend that you consider the assembly level component
colaboration(using multi-languages to develop components in separate
projects) in a certain solution. How do you think of it?

In addtion, here is tech articles on using multi-language and component
developing in dotnet development:

#HOW TO: Manage Multi-Project Solutions in Visual Studio .NET
http://support.microsoft.com/?id=317786

#HOW TO: Manage Multilanguage Web Forms Solutions in Visual Studio .NET
http://support.microsoft.com/?id=315903

#Design Guidelines for Class Library Developers
http://msdn.microsoft.com/library/en...FrameworkDesig
nGuidelines.asp?frame=true

Hope they are helpful to you.
Please check out my suggestion. If you have any questions, please feel free
to post here.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #5
A.M
Thanks Steven for reply.

It seems multiple language involves some hassles, so i am going to invest
some time and translate the project to C#.

Ali

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:IY**************@cpmsftngxa07.phx.gbl...
Hi Ali,
Thanks for posting in the community! My name is Steven, and I'll be
assisting you on this issue.
From your description, you'd like to know whether it's possible to have
both C# and VB.NET pages/modules in a visual studio.net project? Or in
other words whether it possible to use multi language to develop in the
same project?
If there is anything I misunderstood, please feel free to let me know.

As for this problem, here is my suggestions:
Generally, the dotnet support multi-languages, that "Multi-language" is
based on component level(assembly level) colaboration. For example, we use
C# to build a .net component and then use it in a VB.NET project and also
the contrary. And normally as others' suggestion, we can build a solution
and create multi projects developed under different lanugage such as C# ,
VB.NET or c++ ... to generate the different parts of components of a whole
big solution. But as for the "VB.NET pages/modules in a visual studio.net
project", I think it is something like use multi language to develop a
single .net project. This is not recommended or supported by the dotnet
development documenation. Also, I think there'll occur some unexcepted
errors if you do such operations in a certain .net project within VS.NET.
So I recommend that you consider the assembly level component
colaboration(using multi-languages to develop components in separate
projects) in a certain solution. How do you think of it?

In addtion, here is tech articles on using multi-language and component
developing in dotnet development:

#HOW TO: Manage Multi-Project Solutions in Visual Studio .NET
http://support.microsoft.com/?id=317786

#HOW TO: Manage Multilanguage Web Forms Solutions in Visual Studio .NET
http://support.microsoft.com/?id=315903

#Design Guidelines for Class Library Developers
http://msdn.microsoft.com/library/en...FrameworkDesig nGuidelines.asp?frame=true

Hope they are helpful to you.
Please check out my suggestion. If you have any questions, please feel free to post here.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #6

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

Similar topics

5
by: Markus Seibold | last post by:
Dear NG, I am working on a student project about a mobile tourism information system and among others I have to answer the question whether to use: - a relational database - a XML-native database...
0
by: public heath vb developer | last post by:
We have a solution with 29 projects including a main menu and 28 dlls. One of the projects (Project B) was created by copying an existing project (Project A), making changes including the assembly...
6
by: Mark Allison | last post by:
Hi, I have an application that I want to be to run in Console mode and GUI mode. If no params are entered, I want the GUI fired up, if params are entered, then go into console mode. I believe...
2
by: Rudy Ray Moore | last post by:
How can I modify the project build order of a multi-project workspace under "Visual Studio .net 2003 7.1 c++"? I tried to modify the .sln by hand to influence the build order, but it didn't seem...
1
by: Zachary Turner | last post by:
I want sort of a hybrid between these two. I want an iterator where * operator can both read from and write to elements in the collection, intelligently calling push_back if necessary in order to...
0
by: johnsmith3853 | last post by:
Hey Guys, I am still in a thinking stage and will like to learn from your experience, and was wondering if any of you folks have a hybrid environment i.e. Linux and Proprietary systems and what kind...
5
by: Tom van Stiphout | last post by:
I am really impressed with this new (to me) capability MSFT has built. Check out this picture: http://www.kittest.com/AccessInterop.jpg That's an Access form on the left, with a textbox to type...
4
by: =?Utf-8?B?Q2xhdWRpbyBDYXNvbmF0bw==?= | last post by:
Hi. I have a PC running VISTA Home Premium 32 bits SP1 (AThlon 64 x2 5200, 2 giga RAM, Radeon 8600 GT 512). As TV tuner I have the PINNACLE PCTV Hybrid Tuner Kit, that include a connection for...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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?

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.