I need to run a string as a code?

My string has the following value:

Dim a as String="frm1.visibility=False"

on Click of a button I need to execute the code in the string?

Any solutions?