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

possible visual basic net form and c sharp form same project???

Is it possible join in the same project a visual basic net
form and a c sharp form?? if the answer is yes, how can I
do it?
Thanks for your answers
Nov 20 '05 #1
4 1229
Only if you compile the C# form in a project and reference it from VB

--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"jose" <jo********@inicia.es> wrote in message
news:0b****************************@phx.gbl...
Is it possible join in the same project a visual basic net
form and a c sharp form?? if the answer is yes, how can I
do it?
Thanks for your answers

Nov 20 '05 #2
when you say reference it, are you saying add to vb
project??? Pleaseee,helllpp!!!
-----Original Message-----
Only if you compile the C# form in a project and reference it from VB
--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you
------------------------------

"jose" <jo********@inicia.es> wrote in message
news:0b****************************@phx.gbl...
Is it possible join in the same project a visual basic net form and a c sharp form?? if the answer is yes, how can I do it?
Thanks for your answers

.

Nov 20 '05 #3
You will add it as a component

--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

<an*******@discussions.microsoft.com> wrote in message
news:0a****************************@phx.gbl...
when you say reference it, are you saying add to vb
project??? Pleaseee,helllpp!!!
-----Original Message-----
Only if you compile the C# form in a project and

reference it from VB

--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all

from you

------------------------------

"jose" <jo********@inicia.es> wrote in message
news:0b****************************@phx.gbl...
Is it possible join in the same project a visual basic net form and a c sharp form?? if the answer is yes, how can I do it?
Thanks for your answers

.

Nov 20 '05 #4
Hi Jose,

Not in the same <Project> but yes, in the same <Solution>.

Each would have its own Project and you would reference the C# project
from the VB one.

Compile the C# project and then Right-Click the VB project in the Solution
Explorer and select Add Reference. On the dialogue box which comes up, select
the Projects page. You'll find your C# project there. Click the [Select] and
[Ok] buttons. You'll then be able to see the C# project in the VB project's
list of references.

You may also have to add an Imports statement to your VB code. If so, type
Imports at the top of the code and then get intellisense to guide you from
there.

Regards,
Fergus

Nov 20 '05 #5

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

Similar topics

0
by: mark | last post by:
Here's the most concise description I can give you of my problem... I'm trying to create a narrow form in Visual Basic.NET 2003. The form is about 95 pixels wide by 325 long. I resized it to...
5
by: K. Shier | last post by:
when attempting to edit code in a class file, i see the bug "Visual Basic ..NET compiler is unable to recover from the following error: System Error &Hc0000005&(Visual Basic internal compiler...
2
by: jose | last post by:
Is it possible join in the same project a visual basic net form and a c sharp form?? if the answer is yes, how can I do it? Thanks for your answers
26
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio...
10
by: Dave Taylor | last post by:
I have a VB.NET WinForms project that has about 15 forms in it. When I opened the project yesterday, one of the form files does not open as a form (i.e. double-clicking it in Solution Explorer...
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
1
by: Ronm | last post by:
Hey Guys, I have a problem which has been driving me crazy for the last days. I'm working on a small project involving: Visual Basic Acces Database ASP and adobe/macromedia Flash,
2
by: dancer | last post by:
In Visual Basic 2005 Express Edition When I choose Console Application for the project, the source code page automatically comes up with: Module Module1 When I choose Windows Application, the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
Oralloy
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,...
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.