469,951 Members | 2,755 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,951 developers. It's quick & easy.

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 1153
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by mark | last post: by
26 posts views Thread by Bruno Jouhier [MVP] | last post: by
10 posts views Thread by Dave Taylor | last post: by
2 posts views Thread by dancer | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.