Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OnFirstTimeRun()
Message
From
23/05/2001 16:22:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
OnFirstTimeRun()
Miscellaneous
Thread ID:
00510591
Message ID:
00510591
Views:
39
I'm having a problem that might lead to premature hair loss. I have a lot to tear out so that's saying something... < g >

After This.DisplayWelcomeMessage() our application comes crashing to a halt with a "File Does Not Exist" error message, BUT ONLY in the runtime and only on initial startup. If I run the finished exe in the full version of VFP, it executes without any problems. Once the registry entries are created, the app starts with runtime libraries no problem.

It's difficult to debug, because when running with the debugger (full version), there is no problem. Anybody have a clue what might be going on?

Further info:

We "worked around" this problem during beta testing by writing default values to the registry during setup:

regedit /s appname.reg


That was fine during beta testing, but not for final distribution. Especially since WinNT and Win2K setup routines don't execute .bat files (where the regedit command lived).

We have subclassed the "preferenceform" to add additional preferences, but almost no code. The problem is definately not the code we added, (but maybe new controls on the form?). I've even experimented with removing the goApp.oMMFactory.GetClassName('PreferenceForm') reference and calling the form class directly, but without any difference.

I'm guessing the problem is in the preferenceform class hiearchy, but don't really know what the problem might be.


Any help would be greatly appreciated.

TIA
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
Next
Reply
Map
View

Click here to load this message in the networking platform