Add a reference to it in the consuming project's references. Choose the
.NET tab, then the "Browse" button, browse to your bin folder and select
your .dll. In your code, you need to add a using statement with the
namespace you assigned to your class.

Cheers,

Helen

> -----Original Message-----
> From: Lude Gullit [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 27, 2004 5:16 PM
> To: [EMAIL PROTECTED]
> Subject: [C#.NET] How to import custom class
>
>
>
>
> Hi,
>
> I created a .cs class file and then compiled it to a .dll file. I
> moved it to the bin folder, but I don't know how to import this
> class to create an instance in other pages. Thanks.
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA> /XGgtlB/TM
>
>
> --------------------------------------------------------------
> ------~->
>

> Yahoo! Groups Links
>
>
>

>
>
>


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=315388.5529720.6602079.3001176/D=groups/S=:HM/A=2372354/rand=114537063


Yahoo! Groups Links

Reply via email to