Hi
Is there a way to accomplish the same thing, possible in VFP?
I am looking to create a factory object in VB.Net. I want to have a function like this:
Function SetProperty(ByVal MyObject as string, ByVal MyProp as string, ByVal Propvalue as string, ByVal PropType as string) as boolean
I then pass in the properties and based on the PropType do a conversion to Propvalue and for the object MyObject.MyProp I set its value to the converted Propvalue.
I know this is possible using EVALUATE or Macro(&) in VFP.
Is there some way this can be done in VB.Net? The idea is to set properties of the object externally. It is not essential that the parameters be passed as strings, only that I can then set them in VB thru the function but externally.
Thanks
Bernard