|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to show a form of c# in VB.Net from ?Hello,
this is antenio, i'm working on a vb.net project. i wanted to ask that is it possible to show a c# form in vb.net ? if yes then how ? Nimz wrote:
> Hello, Yes, just reference the dll that contains the class and access treat it > this is antenio, > i'm working on a vb.net project. i wanted to ask that is it possible to > show a c# form in vb.net ? > if yes then how ? > liek a normal class. It is not possible to have a .cs file in the same vb project. Chris Yes it is possible.
You need to add a new c# libary or reference an exisiting one for example, and then compile your solution and add an imports at the top of your calling code to the referenced library containing the c# form, after which you can . .. . Dim myCsharpForm as new classLibrary.YourFormName myCsharpForm.show() Show quoteHide quote "Nimz" <mr.n***@gmail.com> wrote in message news:1145020512.867885.166500@t31g2000cwb.googlegroups.com... > Hello, > this is antenio, > i'm working on a vb.net project. i wanted to ask that is it possible to > show a c# form in vb.net ? > if yes then how ? > "Nimz" <mr.n***@gmail.com> schrieb: Yes, simply add a reference to the C# project or DLL file to your project, > i'm working on a vb.net project. i wanted to ask that is it possible to > show a c# form in vb.net ? > if yes then how ? import the namespace the form resides in and use the forms the way you are using other forms. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
How to release a free source code?
Dynamically open forms, reports or call functions How to convert a regular VB app into a service to run on a Windows 2003 server? Database update problems. is there a way to do this Crypto Question FileUpload to SQL Open Printers Folder String Tokenizing - Help! An idea to save learning time. |
|||||||||||||||||||||||