Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Error Message - Object myobject not found?
Message
De
18/04/1997 19:19:37
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
18/04/1997 15:15:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00028864
Message ID:
00028936
Vues:
45
>>>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.
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform