The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: [OT] VB.NET programmers?



Yeah, that's fine. Compile myapp.myclass to an assembly and add a reference
to the namespace. You can then reference the class in anyway, as long as the
name is unique. Ie, if your class has a name clash with another class then
you'll need to use the namespace to provide a unique reference, otherwise
you don't need it. However, it is clearer to read if you use the namespace,
especially if the namespace differs from the client namespace.

d


"andy_powell_is" <ukha@xxxxxxx> wrote in message
news:<6553BCF3E25DD2118F0A00AA00AE6AAA446F1D@tigger>...
>
> The idea is that the 'myapp.myclass' would be compiled and mybigapp
> would 'consume' the 'myapp.myclass' class so that it effectively
> became the parent - I would WANT to say mybigapp.myapp.myclass
>
> Andy
>
> --- In ukha_d@y..., "Amar Nagi" <amar@a...> wrote:
> > don;t think you would need mybigapp
> > just the class name
> >
> >
> >       -----Original Message-----
> >       From: andy_powell_is [mailto:ukha@b...]
> >       Sent: Wed 22/05/2002 15:10
> >       To: ukha_d@y...
> >       Cc:
> >       Subject: [ukha_d] [OT] VB.NET programmers?
> >      
> >      
> >
> >       Hi,
> >      
> >       are there any vb.net programmers out there or can anyone
> confirm/deny
> >       the following:
> >      
> >       If I create a class (let's say 'myapp.myclass') and i want
> another
> >       applocation to be able to use the class (say 'mybigapp') can
> the
> >       class be referenced via the main application (mybigapp) ie
> can I do:
> >      
> >       mybigapp.myapp.myclass
> >      
> >       at runtime?
> >      
> >       Thanks
> >      
> >       Andy
> >      
> >      
> >       ------------------------ Yahoo! Groups Sponsor ---------------
> ------~-->
> >       Buy Stock for $4
> >       and no minimums.
> >       FREE Money 2002.
> >       http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/IBOolB/TM
> <http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/IBOolB/TM>
> >       --------------------------------------------------------------
> -------~->
> >      
> >       For more information: http://www.automatedhome.co.uk
> <http://www.automatedhome.co.uk>
> >       Post message: ukha_d@xxxxxxx > >       Subscribe:  ukha_d-subscribe@xxxxxxx > >       Unsubscribe:  ukha_d-unsubscribe@xxxxxxx > >       List owner:  ukha_d-owner@xxxxxxx > >      
> >       Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/ <http://docs.yahoo.com/info/terms/>
>
>
>
> Yahoo! Groups Sponsor     
>
> ADVERTISEMENT

> <http://rd.yahoo.com/M=226014.2032696.3508022.1829184/D=egroupweb/S=1705
> 041992:HM/A=1000239/R=0/*http://ads.x10.com/?bHlhaG9vaG0xLmRhd=102207880
> 4%3eM=226014.2032696.3508022.1829184/D=egroupweb/S=1705041992:HM/A=10002
> 39/R=1>      

> <http://us.adserver.yahoo.com/l?M=226014.2032696.3508022.1829184/D=egrou
> pmail/S=1705041992:HM/A=1000239/rand=674181779>      
>
> For more information: http://www.automatedhome.co.uk
> <http://www.automatedhome.co.uk
> Post message: ukha_d@xxxxxxx
> Subscribe:  ukha_d-subscribe@xxxxxxx
> Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
> List owner:  ukha_d-owner@xxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .

Yahoo! Groups Sponsor
ADVERTISEMENT

For more information: http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.