>>How to simulate the following code:
>>I need:
>>frmTransaction.Text1.Enabled = True
>>
>>If I were to store strA = "frmTransaction.Text1.Enabled"
>>how to simulate the above statement?
>>Something like:
>>
>>strA = True
>>???
>
>Your way would probably work fine if you do it like so:
>dim strA as boolean
>
>' earlier in code
>strA = frmTransaction.Text1.Enabled
>
>' later in code
>frmTransaction.Text1.Enabled = strA
If you need it to work as a string like you showed though it won't. Using the contents of variables like they are the variable themselves is more of a PERL thing.