Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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