Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if Class exists
Message
From
20/02/2013 07:29:54
 
 
To
20/02/2013 07:22:59
Issam Mansour
Jordan Business Machines
Amman, Jordan
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01566447
Message ID:
01566462
Views:
85
>Hi,
>I used a class in my applications by calling the class "Set Classlib To TestLIB Additive" the class will be resident in my application until i remove the class by using "Release Classlib TestLIB" for cretin reason or condition and reload the class. if the class exits the system give me an error. so what i want is to check if the class is exists before calling it again.

This is taken from one of my programs:
If Not "MINDSEYEREPORTPREVIEWFORM" $ Upper(Set('classlib'))
  Set Classlib To prog\mindeye\libs\MindsEyeReportPreviewForms Additive 
Endif
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform