Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cant use COM object methods
Message
From
24/10/2001 06:59:37
 
 
To
24/10/2001 06:52:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00572485
Message ID:
00572495
Views:
30
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform