Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NET Macro command
Message
From
07/06/2008 03:30:27
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
.NET Macro command
Miscellaneous
Thread ID:
01322255
Message ID:
01322255
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform