Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beginner COM question
Message
De
04/11/2001 18:58:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Beginner COM question
Divers
Thread ID:
00577238
Message ID:
00577238
Vues:
54
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform