Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Member does not evaluate to an object
Message
From
04/01/2010 17:50:57
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01441929
Message ID:
01442013
Views:
31
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
Previous
Reply
Map
View

Click here to load this message in the networking platform