Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.NET Macro command
Message
De
07/06/2008 03:30:27
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
.NET Macro command
Divers
Thread ID:
01322255
Message ID:
01322255
Vues:
54
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform