Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What to send to a clients site for update()
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00312546
Message ID:
00312590
Views:
20
>I have an exe for updating an installed system. The update function works just fine following the tutorial. What files do I need to put in a sub-dir so I can run this line.
>
>oMeta = newobject('DBCXMgr', 'DBCXMGR.VCX', '', .F., 'dstdata\')
>
>Where dstdata\ is what we copy in as the new version for update to read from and post to the database pmast.

When you create oMeta, it should point to and use the working data folder and DBC of record, not the new files. What you provide is the new DBC, DCX, DCT and the SDT meta files which replace the current files on the customer's computer.

It is up to you to design the mechanism by which these files are copied over the existing files. I provide these files in a ZIP file [DynaZip]. The ZIP file is placed in a DBCUpdts folder in the database's directory tree. My app looks for this ZIP file, and if found, alerts the users every time the launch the app until they process it. They are notified that this is an EXCLUSIVE function and all other computers must be completely out of the app.

When they start the processing, all forms are released, tables are closed, oMeta is released and the DBC closed. I then unzip the file into the current data folder, reopen the database, recreate oMeta, and do the SDT Update function.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform