Dear Neil,
I have compiled my C# class library and add it to VB.Net project. When
I rebuilt the solution of VB.Net project, I gave an error that
application conflict with "mscorlib.dll". I dig out this file from my
computer and placed it with my application and start the error was
resolved.
But when my other team member took the latest version of application
and compiled VB.Net project, he also got the same error and it is not
be resolved in any case.
What would be the problem with this?
Regards,
Muhammad Arif
"Neil Cowburn [MVP]" <(E-Mail Removed)> wrote in message news:<#lByD34#(E-Mail Removed)>...
> Add your C# class to a class library project, compile it and then
> reference the assembly from your VB .NET project. Very simple, yet
> effective.
>
> HTH
> Neil
>
> --
> Neil Cowburn, MVP
> Co-founder, OpenNETCF.org
> Technologist, Content Master Ltd
> Microsoft .NET Compact Framework MVP
>
> www.opennetcf.org | www.contentmaster.com
>
>
> Muhammad Arif wrote:
> > Dear All,
> > How I can call a method of C# class from VB.Net? Suppose I have a
> > class SaveFile in C# having a method saveImageFile(). There is a form
> > Form1 in VB.Net having an picturebox populated with an image. I want
> > to call SaveFile.saveImageFile() method from Form1. How it will be
> > done?
> >
> > Regares,
> > Arif