Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moved Project to VFP7: Class Location Problems
Message
De
04/09/2001 11:53:35
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00551805
Message ID:
00552104
Vues:
41
This message has been marked as a message which has helped to the initial question of the thread.
Todd-

>>PMFJI. Do you get the message to locate the libraries on a _different_ form each time? If you open a form, locate the classlibrary, and then save it. Explicitly save it with File | Save As, do you get the prompt again if you close VFP, reopen it and try to open that same form? I'd try to get one form or report stabilized before tackling the whole project and build.
>
>That describes the problem perfectly. I have been approaching this at the form level as you describe above.

I'm not sure I'm clear on your answer. Are you saying that it asks you to relocate the libary on a different form each time or the same form? If it's a different form then that would make sense. You'd need to edit each form, locate the library, save it, and then do the next.

>
>>Also, did you duplicate the same directory structure for the VFP 7 project? Same _relative_ directory structure, that is? When you opened the project, were you notified the project had moved? (I know you rebuilt the project.)
>
>Initially I duplicated the directory structure exactly. Then I tried changing the directory name and reopening the project for editing and answered 'yes' to the 'project has been moved' dialoque thinking that would redirect pointers and such internally. Same problem at the form level.

Okay. I never say "yes." I know some folks here do, but if you have references to files in directories other than subdirectories to the project, allowing VFP to reset the home directory screws those references up. Instead, modify the project, and answer NO to changing the home directory. Then choose Project | Project Info and answer NO again to changing the home directory. Do it yourself (on the first tab). Should be fine after that.

I suspect this might be the problem give what you say in the following.

>>Are you pointing VFP 7 project forms to a classlib that's shared by VFP 6?
>
>Not that Im aware of. These are 'wizard generated' forms that have the problem so I dont know if there is generated code somewhere pointing to the old directory that has a problem. I have looked and found none but in the world of wizards Im always worried about things being generated I dont know about. Bring back DOS and procedure coding I say! Not really...

Were these wizard generated in 6.0 or in 7.0? I would expect they're still using the 6.0 classlibs.

-Nancy

p.s. Could you use a mark to set off the quotes you're replying to, please? It would make it easier to follow. I think the autoreply uses a ">". I don't know if there's some UT setting that changes that.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform