On 2014-10-07 04:59, Peter Cushing wrote:
I always copy in 13 files: coremeta.* 3 files dbcxreg.* 3 files yourdbc.* 3 files sdt*.* 4 filesthen get your app to run this code IF FILE('system\update.txt') oMeta = newobject('DBCXMgr', 'DBCXMGR.VCX') if type('oMeta') <> 'O' or isnull(oMeta) MESSAGEBOX('Could not Open Database Toolkit',16,'System Error') RETURN ENDIF oMeta.SetDatabase(dbc()) IF oMeta.oSDTMgr.NeedUpdate() oMeta.oSDTMgr.Update() ENDIF ERASE ('system\update.txt') oMeta.release ENDIF
Thanks, Peter. As Frank said, the SDTUSER files aren't necessary. I pretty much do the same code as you, although I think I skip the NeedUpdate() check and just go right for the Update() if my flag file exists ('update.txt').
Thanks, --Mike _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

