Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown member OMETA
Message
From
30/07/1999 13:27:32
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00248037
Message ID:
00248268
Views:
17
It just started with V5.1e

Thanks for your help

Rex

>Yup, I duplicate your error. So what I did was change to the SDT folder where the SDT project file is, MODI PROJ SDT, and modified the Destroy method of the SDT form as follows:
>if type('.oMeta') = 'O' and not isnull(.oMeta)
>   .oMeta.Release()
>endif
>Rebuilt the app, and all works fine now. Doug Hennig will probably see this thread, and make the correction for future releases. I do know this was not a problem in 5.1d because I tested it 10 minutes ago before updating to 5.1e and testing for your problem again.
>
>
>>Sorry, I mean open the SDT Explorer and quit.
>>
>>Thanks
>>
>>Rex
>>
>>>SDT launches at VFP startup for me which adds the appropriate items to my system menu. By opening SDT do you mean the SDT Explorer then quit with it still open?
>>>
>>>>Mark,
>>>>
>>>>The code for frmSDT.Destroy is as follows:
>>>>
>>>>
>>>>with This
>>>> .SaveChanges()
>>>>
>>>>* If the SDTController exists, tell it we're shutting down.
>>>>
>>>> if type('.oController') = 'O' and not isnull(.oController)
>>>> .oController.CloseSDT()
>>>> endif type('.oController') = 'O' ...
>>>> .oController = .NULL.
>>>>
>>>> .oMeta.Release()
>>>> .oMeta = .NULL.
>>>>* Close all tables (workaround for problem releasing the form in VFP 6 due to
>>>>* the TreeView control) and databases.
>>>>
>>>> close databases all
>>>>endwith
>>>>
>>>>My assumption is that oMeta is already gone. I just checked for oMeta existence and all worked fine.
>>>>
>>>>To see this problem, open SDT and type QUIT in the Command Window.
>>>>
>>>>HTH
>>>>
>>>>Rex
>>>>
>>>>>>I get the following error when quitting out of VFP with SDT running:
>>>>>>I am using version 5.1e
>>>>>>
>>>>>>Error 1925
>>>>>>Message Unknown member OMETA
>>>>>>Line #: 12
>>>>>>Code: .oMeta.Release()
>>>>>>Method: Destroy
>>>>>>Object: frmSDT
>>>>>>
>>>>>>TIA
>>>>>>
>>>>>>Rex
>>>>>
>>>>>Do you have a PERIOD in front of oMeta.Release()? It looks like it from the error Code line. If so, remove the period and try again.
Previous
Reply
Map
View

Click here to load this message in the networking platform