Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cant use COM object methods
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00572485
Message ID:
00572495
Vues:
32
Hi!

Your code looks good, because 1-letter variables are prohibited from a to j (they indicate workareas from 1 to 10, for example, "select j" command is identical to "select 10"). Have no idea, though I glad you did found the solution.

>Thanks for the fast answer,I think that I get the answer by miself:
>I was using local variable named "o".
>o=createobject("class1.cls")
>s=o.method1(param)
>if I use another variable named loCls it works.
>loCls=createobject("class1.cls")
>lsStr=loCls.method1(param)
>
>Is there any problem with variable name?
>Sure yes...
>Thanks,
>Ibai
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform