Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The EVAL function
Message
From
22/06/2001 09:18:51
 
 
To
21/06/2001 16:48:52
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00522089
Message ID:
00522381
Views:
7
I tried your example using your code and it worked fine. When I used the following code, it didn't work

Dim oSC As ScriptControl
Set oSC = New ScriptControl
oSC.Language = "VBScript"

Dim y As String
y = "AutomationLetterWordDemo.txtCustomerName.Text"
y = oSC.Eval(y)
Debug.Print oSC.Eval(y)

The string represented by y is a valid Form Text Control and contains a value of "Dan

But when I execute "y = oSC.Eval(y)", the value of y is still "AutomationLetterWordDemo.txtCustomerName.Text"

Tis a puzzle to me...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform