Information générale
Catégorie:
Codage, syntaxe et commandes
>Hello Everyone,
>
>I'm a Visual foxpro programmer who has begin to learn Visual Basic, MTS and the other n-tier operations. There are on occasion when I wished (okay okay on many occasions) I wish I would get a functionality that came with Foxpro. I would hate to throw out all those skills. Anyway, In Foxpro one could use "&, ()" for Macro Substitutions (eg) lc_customer = "Customers" USE &lc_customer Tag &lc_customer -- USE (lc_customer) Tag (lc_customer). This allows me to reference "what's store in the location of variable" instead of the variable name itself. Million dollar question - "Is there a way to do in VB"
>
>
>Thanks in Advance
You can execute code stored in variables (or expressions) by way of the scripting control. Look at the scripting technologies page at MS or your local MSDN CD.
Now where's my million? :)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement