• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

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#............??


0
hwtang5401
Asked:
hwtang5401
1 Solution
 
Arthur_WoodCommented:
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now