Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This is really beginning to torque me
Message
 
 
To
13/01/2009 11:58:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01373260
Message ID:
01373264
Views:
28
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform