Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a copy of the existing class
Message
From
10/03/2005 12:58:43
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00994181
Message ID:
00994521
Views:
27
>Also could it be that we have too many libraries?
>
>I just tried in the Command Window:
>SET CLASSLIB TO c:\mmviscollect\libs\abatchprocessbiz.vcx
>MODIFY CLASS batch_processes OF c:\mmviscollect\libs\abatchprocessbiz.vcx && gave me the error when I tried builder
>o=CREATEOBJECT("batch_processes_env") && gave an error class definition is not found
>o=newOBJECT("batch_processes_env","c:\mmviscollect\libs\abatchprocessbiz.vcx") && worked
>o.release()
>
You need to Set Classlib To {classlib name} for CreateObject() to work. Framework probably does that for you. The only other CodeBook framework I used was FoxExpress, which gets all the vcxes and prgs from your project, and does a series of Set Classlib and Set Procedure. I assume MM does the same.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform