RE: Assigning property at runtime from database?

2010-10-15 Thread Bill McCarthy
Apart from the My namespace stuff, the 3 main VB namespaces worth looking at are Information, Interaction and Financial (IMO). Some real gems in there. |-Original Message- |From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet- |boun...@ozdotnet.com] On Behalf Of Anthony |Sent: Saturday

Re: Assigning property at runtime from database?

2010-10-15 Thread silky
On Sat, Oct 16, 2010 at 11:51 AM, Anthony wrote: > mmm...wonder what else i am missing... Sadly (or perhaps not) it's not a trivial process to list all of the things we don't know. If it was, life would be pretty boring really :) FWIW, I've found (as has virtually everyone else) that hanging aro

RE: Assigning property at runtime from database?

2010-10-15 Thread Anthony
mmm...wonder what else i am missing... -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Bill McCarthy Sent: Saturday, 16 October 2010 11:09 AM To: 'ozDotNet' Subject: RE: Assigning property at runtime from database? Ooops, sorry, i

RE: Assigning property at runtime from database?

2010-10-15 Thread Bill McCarthy
Ooops, sorry, it was VB6. So that makes it only 12 years :) |-Original Message- |From: Bill McCarthy [mailto:b...@totalenviro.com] |Sent: Saturday, 16 October 2010 11:04 AM |To: 'ozDotNet' |Subject: RE: Assigning property at runtime from database? | |Uhm, VB5 I think (may have been in 4,

RE: Assigning property at runtime from database?

2010-10-15 Thread Bill McCarthy
Uhm, VB5 I think (may have been in 4, can't honestly remember). So anyway about 15 years give or take a couple ;) |-Original Message- |From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet- |boun...@ozdotnet.com] On Behalf Of Anthony |Sent: Saturday, 16 October 2010 10:46 AM |To: 'ozDotN

RE: Assigning property at runtime from database?

2010-10-15 Thread Anthony
Great..first time i have seen callbyname, exactly what i needed! When was callbyname introduced? -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Bill McCarthy Sent: Saturday, 16 October 2010 10:12 AM To: 'ozDotNet' Subject: RE: A

RE: Assigning property at runtime from database?

2010-10-15 Thread Bill McCarthy
Hi Anthony, What you are after is late binding. There's numerous ways of doing this, such as reflection. But I would probably opt for using CallByName function in VB. |-Original Message- |From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet- |boun...@ozdotnet.com] On Behalf Of Anthony |S

Assigning property at runtime from database?

2010-10-15 Thread Anthony
I have a few usercontrols in an asp.net project that have properties set at runtime from a database. Table : ControlProperty PropertyNameValue NameRedControl Color Red My asp code