Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving physical location of classes
Message
 
To
17/11/1997 17:54:56
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00060733
Message ID:
00060977
Views:
24
>>>>I have a couple of forms based on some custom classes. When I moved the classes to a new directory I got message boxes saying Foxpro couldn't find the classes, which I then located. I thought that once you showed where the classes were located it would save that information which I found out isn't the case. I was wondereing if anyone knows what I can do to fix this.
>>>>
>>>>Mark A. Struck
>>>
>>>If you modify the class you are having a problem with and then save it again everything should work fine.
>>
>>Here's what you need to do when you relocate a class and then bring up the form.
>>If you just bring up the form, locate the new class and then just leave the form, VFP thinks that nothing has changed and does not "save" the form definition. You need to force the form to "save" itself. You can do this easily by bringing up the form locating your classes, then pick any object on the form and move it somewhere and then back to it's original position. This will cause VFP to "think" that something changed and force the new definition to be written with your new class locations.
>>
>>Steve Despres
>
>Steve,
> I tried your suggestion and ended up with the same results. I don't if it matters that the class library had existed on a different drive before it was moved. I was wondering if there is a program that would expose the internals of the form itself so that maybe I can modify this myself.
>
>Mark A. Struck

Mark,
There is a public domain HACK tool in the file library. It works great. Search on HACK
Jerry
Nebraska Dept of Revenue
Previous
Reply
Map
View

Click here to load this message in the networking platform