From your original post I thought you were just using rules, in which case the parameter is just changed by the user.
If you want to change a value of a parameter using VB you typically must use either assign the value directly like
theParam.Value = "FRONT"
which is appropriate for strings, reals, integers, and booleans. Or use the ValuateFromString method
Call theParam.ValuateFromString("1.25in" )
for parameters with units