Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call a VB function by string name?
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00414239
Message ID:
00414566
Vues:
23
Thanks guys, I got it to work. Here is the code:
Dim oCtrl As ScriptControl
Dim vVal As Variant, msText As String
    Set oCtrl = New ScriptControl
    oCtrl.Language = "VBScript"
    msText = "Now"
    vVal = oCtrl.Eval(msText)
    MsgBox vVal
George
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform