Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Error Message - Object myobject not found?
Message
De
21/04/1997 08:58:27
 
 
À
18/04/1997 19:19:37
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00028864
Message ID:
00029051
Vues:
48
>>>>I made an EXE and set path to tell vfp where the data
>>>>will live. The data lives on a network drive and the EXE lives on local drive. The EXE finds the data, but when I try and quit, I am getting a error message saying:
>>>>Object myObject is not found. In Debug, the line of code this error message reflects is: THISFORM.myform.ENABLED=.T.
>>>>
>>>>help
>>>Does the error occur if the data is put on the same drive/path with the exe?
>>
>>I found the problem. When I change the PATH in the program, my program
>>has problems finding PUBLIC vars and other things. Since all I want to
>>do is set the location for a data path, I thought I would do a
>>OPEN DATABASE mydata from my program, but that seems to change my path
>>and my program can not find things. Any other suggestion?
>
>Setting the path should not have an effect on public variables. Are you using any *.mem files? If so check to see if mysetpath got saved to it, possibly overwriting the current value. If you are using a *.mem file and you do not do a RESTORE from memfile ADDITIVE, it wipes out any variables currently in memory.


thanks Larry... the problem was the RESTORE ADDITIVE.. thanks for your
help... ran into this problem last Friday and I just could not think anymore... I read your message this morning (Monday) and fix the problem... thanks again...
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform