Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding SDT after deployment
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00884580
Message ID:
00884699
Views:
9
>Has anyone added SDT to an application after it as already been deployed without it. I am about to release an upgraded of an application from VFP6 (using Visual Maxframe 2000) to a VFP8 (using Visual Maxframe 2003).

AFAIK, adding SDT after the fact should not be too difficult. SDT help is excellent - you just have to know where to look. :-)

>I will be distributing the app through installshield, and would like to include the capability of SDT 6x in the application. Also, since the VFP6 data files are good, I don't want to overwrite them, but still use them.

Check out the docs for the update() method. This is also discussed in the Using SDT in your applications topic as well as in the quick start. Like Denis has suggested, if you put this at the app startup you will probably want to wrap this code in a condition, testing for the existence of a dummy file (eg, update.txt) and then deleting it afterward so this code won't execute every time the app is started. Otherwise, call the code from an administrator level menu. I have used each of these methods in the past.

You will need to send the new dbc files and the metadata files. These are mentioned in the "What to ship to your client" paragraph of the Using SDT in your Applications section. After typing that, I see they are also mentioned in the quick start section. Like I said, excellent documentation.

As always be sure a good backup exists of the live data before proceeding. The existing data should not be affected and your new table should be created by the update method when it executes.

>What SDT related files to I need to include? What do I want to have happen when the new .exe opens up? Is there anything else I should be aware of?

See the "Adding SDT to your Project" topic within the "Using SDT in your Applications" topic.

Lastly, I don't use Maxframe, but I use a competing product (Visual FoxExpress). Doug has written a white paper for integrating VFE with SDT. He may have done the same for Maxframe. Maybe he'll jump in here and point you to that if there is such an animal.
Del
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform