Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unwanted class automatically being included
Message
From
27/11/2007 18:56:25
 
 
To
27/11/2007 10:23:06
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01271356
Message ID:
01271600
Views:
18
Thanks, Marcia -- I actually had gotten that far (I've had a little utility to do that), but the real problem was in a MemberClass for pages in a PageFrame. That was a little trickier to find and correct.

Thanks again


>I've just tried to compile a new project for the first time, and I find that at least one un-wanted class is being added.
>
>Unfortunately, Code References is no help to you here. There is a reason that they call it Code References.
>
>What you can do is use this code to search for a given string in the ClassLoc field of all your vcx's or scx'x. If you open one of the unwanted classes in the class designer, you should be able to see which class library it is in.
>
>
>Local lnFiles, lcCurdir, lnCnt, lcFile
>lcCurdir = Fullpath( Curdir() )
>Cd ( << whatever subdirectory you want to search >> )
>lnFiles = Adir( laFiles, '<<*.scx or *.vcx >>' )
>For lnCnt = 1 To lnFiles
>  lcFile = Forceext( laFiles[ lnCnt, 1], '<<*.scx or *.vcx >>' )
>  Use (lcFile)
>  Locate For Lower( Alltrim( '<< string that you are searching for >>' ) ) $ Lower( classloc )
>  If Found()
>    ? lcFile
>  Endif
>Next
>Cd ( lcCurdir )
>
Jim Nelson
Newbury Park, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform