Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming a Class Library
Message
De
10/09/1998 16:27:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Renaming a Class Library
Divers
Thread ID:
00135223
Message ID:
00135223
Vues:
61
I know this quesion has probably been asked and answered 1000 times, but I don't visit the thread as often as I used to. Call this number 1001.

I created most of my forms with the Forms Wizard (so sue me, I was in a hurry to get a prototype out the door). Knowing that I would be making modifications to the underlying classes, I copied the WIZSTYLE library to my Classes directory. Rebuilding the project with Rebuild All got the classes to look at my "new" WIZSTYLE library. I have since modified the heck out of this library. I didn't rename the library files, figuring I would wait until I had finished tinkering with it before preparing my distribution files.

Now I want to rename this customized WIZSTYLE library to something that makes a little more sense, MYLIB, for instance. If I rename the library, two major burps occur. First, my code screams bloody murder when it can't find the WIZSTYLE library where it's supposed to be. Second, it follows the trail back to the VFP50 directory and finds the original WIZSTYLE library. It uses this, undoing all of my changes and stranding countless code calls.

Is there a way to rename "my" WIZSTYLE library (or any library, for that matter) to something else and still have the objects in my forms find the correct classes? I really don't want to have to open the forms or class libraries as a database if I can help it, but if that's the only (or the fastest) way, so be it.

Bill Yater
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform