Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCOMM class added to project - create class from it in
Message
De
14/01/2002 12:50:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/01/2002 12:44:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00604353
Message ID:
00604441
Vues:
24
>Hi Cetin,
>I tried:
>
>ComForm.NewObject("MsCom","MSCOMMCLASS","MYMSCOMMCLASS.VCX")
>
>and I get 'Class Definition Not Found.'
>
>It still wants me to include a DEFINE/ENDDEFINE statement for this class, but the class is already created and exists in the project and I don't want to define manually what I created visually. Did I do something wrong?
>
>
>PUBLIC ComForm
>ComForm = CREATEOBJECT('Form')
>*Below is the old code that created a new class based on the generic mscommclass
>*--ComForm.AddObject("MsCom","MSCOMMCLASS")
>*Below is the NEW code that SHOULD add an instance of my mscommclass in ATICOMMCLASS.VCX
>ComForm.NewObject("MsCom","MSCOMMCLASS","ATICOMMCLASS.VCX")
>
Tracy,
Sounds like ATICOMMCLASS.VCX not in search path. Temporarily use fullpath to see if that's really the problem.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform