473,545 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1672
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*******@sapm 123.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.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.ne t> wrote in message
news:OV******** ******@TK2MSFTN GP12.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*******@sapm 123.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.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*******@sapm 123.com> wrote in news:#FybERv4DH A.2624
@TK2MSFTNGP09.p hx.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/
"Programmin g 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(us ing 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.m icrosoft.com> wrote in message
news:IY******** ******@cpmsftng xa07.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(us ing 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
3215
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 - a hybrid (XML atop relational database) Can anyone please provide me with links and preferably article on this topic (so that I can cite them...
0
1541
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 name, root namespace, form name, and internal code. When the new project (Project B) was added to the solution and a reference to it was attempted to...
6
3226
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 I have all the code set up to do this, however when I issue a Console.WriteLine instruction, nothing gets written to the console. In fact, the...
2
4767
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 to help. It looks like it's in reverse alphabetical order with upper case characters winning. Contents from my "Output" window: Build started:...
1
1369
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 write without going out of bounds. Is something like this possible? I have something I whipped together that seems to work with the test cases...
0
936
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 of issues do you run into. And also, what pieces of technology you have - which are open source and which ones you have are proprietary and any...
5
3657
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 your name in. Then you click the button, and with a few lines of code you're launching a DotNet form (on the right) which is picking up the argument...
4
2692
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 S-Video and Audio/Video connectors. Now, as far I understood during the tests I did yesterday, the VCR should be connected as 'Cable' - 'Set Top...
0
7410
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7923
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7437
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7773
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5984
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3466
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
722
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.