Hi Moises.
Try the following and see if it works, or if it doesn't, where it errors.
cbx = Createobject("CobreBemX.ContaCorrente")
x = cbx.PadroesBoleto
x = x.PadroesBoletoImpresso
x.CaminhoImagensCodigoBarras = "\CobreBemX\Imagens\"
I know that sometimes if you are taking to an ActiveX object that has properties that return other object that return other objects etc that somewhere along the line VFP can get confused.
Ian Simcock.
>Hi
>
>
>
>
>I am trying to use class as below
>
>cbx = Createobject("CobreBemX.ContaCorrente")
>
>
>When I try the command line
>cbx.PadroesBoleto.PadroesBoletoImpresso.CaminhoImagensCodigoBarras = "\CobreBemX\Imagens\"
>
>I have the error message:
>
>
>Member PadroesBoleto does not evaluate to an object
>
>
>
>I displayed the object by typing cbx. and saw to full path is correct
>
>Moises