Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beginner COM question
Message
From
04/11/2001 18:58:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Beginner COM question
Miscellaneous
Thread ID:
00577238
Message ID:
00577238
Views:
55
Hi All:

In a project 'automat', I placed a program 'mycom' that does this:

DEFINE CLASS person AS CUSTOM OLEPUBLIC
FirstName = SPACE(30)
LastName = SPACE(45)

PROCEDURE GetName
this.firstname = 'Joe'
RETURN THIS.FirstName + " " + THIS.LastName
ENDPROC
ENDDEFINE

Then I ran a program 'test' that does this:

oTest = CREATEOBJECT("automat.person")
cName = oTest.GetName()
? cname

'Joe' was displayed. So far so good.

My question is:

If my COM server is now registered, why can I not see it when I go into the object browser; aren't all COM servers visible on the COM Libraries tab?

Thank you,

Yossi
Next
Reply
Map
View

Click here to load this message in the networking platform