VB and C# code together in VS2005 | Bytes (2024)

Home Posts Topics Members FAQ

I believe it is a feature in VS 2005 you can write VB and C# in the same
project.
It is ture if the project type is a web project. However in a libary project
that compile to a DLL, once I select a language to start up, I cannot have a
class of another language compiled.

Anyone know is it supported to have both VB and C# in the same Dll project
in VS2005?
Thanks.

Mar 29 '06 #1

Subscribe Reply

yogeshprabhu

Supporting both C# and VB.NET is actually the feature of ASP.NET. As I
understand now each page is compiled into assembly, instead of one big
assembly with all the pages together. This is the reason you can work with
both languages. I haven't tried, but it might work with Web Services project
as well. But with any other projects like Console App, Win apps, or libraries
you won't find this behavior.

Mar 30 '06 #2

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

Similar topics

4 2158

Installing VS2003 and VS2005 together

by: Oenone |last post by:

Could someone who has done it confirm for me that if I install VS2005 final on a computer that already has VS2003 installed, it won't interfere with the existing 2003 installation in any way? Many thanks, -- (O)enone

Visual Basic .NET

3 1464

write Override methods in Code Editor VS2005

by: mtczx232 |last post by:

in previous versions we can put Override header method into code by choosing Override from upper left dropdown list, and choosing the method from right one. but in VS2005 Override Option disappear?

Visual Basic .NET

4 1309

How to put all code generated by the designer in external files (VS2005) ?

by: pamelafluente |last post by:

Don't know if this is a common or dumb question (just playing with the 2005)... When one imports a project in VS2005, I noticed that for the existing controls the code generated by the Designer remains in the main file, while the *new* controls, created with the new IDE, use an external file (along with resx). Is there a simple way to tell the IDE to process the controls and put the Designer code in an external file *for each* control...

Visual Basic .NET

2 1255

VB and C# code together in VS2005

by: Johndow |last post by:

I believe it is a feature in VS 2005 you can write VB and C# in the same project. It is ture if the project type is a web project. However in a libary project that compile to a DLL, once I select a language to start up, I cannot have a class of another language compiled. Anyone know is it supported to have both VB and C# in the same Dll project in VS2005? Thanks.

.NET Framework

1 1877

Compiling multiple pages to a single code-behind page in VS2005

by: LiveCycle |last post by:

Hi, I'm putting together a project that uses ASP.NET in VS2005. It uses a single master page that is responsible for most of the heavy lifting. About 90% of the 200 pages have the same code-behind, so I implemented all of these pages so they would reference the same code-behind cs file, as follows: <%@ Page Language="C#" MasterPageFile="~/MyMaster.master" AutoEventWireup="true" CodeFile="~/Template.aspx.cs" Inherits="Template"...

ASP.NET

9459

Changing the language in Windows 10

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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...

Windows Server

10285

Problem With Comparison Operator <=> in G++

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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...

C / C++

9921

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...

General

8949

AI Job Threat for Devs

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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...

Career Advice

6721

Couldn’t get equations in html when convert word .docx file to html file in C#.

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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

C# / C Sharp

5365

Trying to create a lan-to-lan vpn between two differents networks

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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

Networking - Hardware / Configuration

5489

Windows Forms - .Net 8.0

by: adsilva |last post by:

A Windows Forms form does not have the event Unload, like VB6. What one acts like?

Visual Basic .NET

1 4027

transfer the data from one system to another through ip address

by: 6302768590 |last post by:

Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

C# / C Sharp

2 3620

How to add payments to a PHP MySQL app.

by: muto222 |last post by:

How can i add a mobile payment intergratation into php mysql website.

PHP

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

To disable or enable advertisem*nts and analytics tracking please visit the page.

VB and C# code together in VS2005 | Bytes (2024)

References

Top Articles
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 5965

Rating: 4.3 / 5 (74 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.