Problem linking vb form to C# using visual studio. NET

Problem
-------

I have create a vb form with coding.
How can i call or link the vb form with coding using c#............??


hwtang5401Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Arthur_WoodConnect With a Mentor Commented:
you can't do that.  The form in VB.NET MUST have it's code written in VB.NET.  You can encapsulate the functionality in a C# Assembly, but then you would need to call it from the VB.NET code.  C# has it's own forms generator.  Whay don't you just build the ENTIRE application in C#???
0
 
hwtang5401Author Commented:
But i manage to add the form.frm to my project. i think is possible to link or connect my c# coding with the form right??
0
 
EDDYKTCommented:
I don't quite understand your question.

How do you compiler compile your code with both c# and vb coexist in the same project?
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Arthur_WoodCommented:
why don't you simply design and build the ENTIRE APPLICATION in C#.  Use the C# forms generator to design and build the form, in C#????
0
 
DanRollinsCommented:
Hi hwtang5401,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept Arthur_Wood@devx's comment(s) as an answer.

hwtang5401, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.