>Hi Timothy, Have you tried brute force yet? Start with the preference form created by the framework and then add all your registry entries with regedit. Add one control to the form at a time and remove the corresponding key from the registry until you find the problem child.
Problem solved.
I created a work around to manually write the app settings to the registry and got that working. Then made my discovery when I created a new form to force the users to accept our "end user license agreement". That form failed as well.
The problem was any form was failing in the onfirsttimerun(). Why?
At that point in the app,
< set stupid on >
_screen.visible = false
< set stupid off >
We ran across this earlier, when rolling out the app for beta. Upon consultation with our consultant, we decided to put the _screen.visible=.t. in the beforereadevents(). Too late in the process if we want any forms to show up!
Note to Kevin: you might want to include a note in the documentation about setting the screen visible. I've heard of other developers tripping over this one as well...
Timothy D. Yeaney
MCSD, Charter Member
President, PAFOX (Potomac Area Fox User Group)
mailto:
tim@eagleeyeinc.com Vice President
Eagle Eye Publishers, Inc
Broaden Your Vision, Sharpen Your Focus