Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This is really beginning to torque me
Message
 
 
À
13/01/2009 11:58:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01373260
Message ID:
01373264
Vues:
20
If you want to specify a class library, you've to use NEWOBJECT() function
oChkbio = NEWOBJECT("BioPlug", "ChkBio")
oChkbio.ChkStatus()
Rele oChkBio	
>Finally got the vagaries of m2Sys figured out, added the ChkBio.vcx to the project, added the code to the project, rebuilt the .exe and it's telling me that "Class definition BIOPLUG is not found"
>
>What the heck?
>
>Here's the code:
>
>
>wait window "Creating Obj BioPlug"
>oChkbio = CreateObj("BioPlug")
>oChkbio.ChkStatus()
>Rele oChkBio	
>
>
>Thinking that perhaps it was getting confused from all the libraries we got out there, I tried
>
>wait window "Creating Obj BioPlug"
>oChkbio = CreateObj("BioPlug", "ChkBio")
>oChkbio.ChkStatus()
>Rele oChkBio	
>
>
>Someone PLEASE tell me it's something stupid so I can do 'D'OH!' and move on to something more pleasant to work on?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform