>oreg.GetRegKey("ResWidth",@cValue,;
> "SOFTWARE\Microsoft\VisualFoxPro\4.0\Options",;
> -2147483647)
>
Initialize the variable cValue to a character string before making the method call - the result will be returned as a chacter string for this particular registry key value. If you're using the FFC, it only works with strings.