N P
asked on
Visual Foxpro have to double start application for it to work?
I am using visual foxpro 8.0. I have to double start my application in order for my foxpro application to appear. The first attempt shows nothing on the task bar but task manager shows under Apps. Second attempt opens the application ok.
here is my main.prg set are main startup.
**main.prg**
on shutdown do myshutdown
_screen.windowstate=2
_screen.closable=.f.
do form frm_admin
read event
on shutdown
**my shutdown file**
&& myshutdown
clos all
clea all
capslock(.f.)
clear events
quit
what could be causing this issue?
here is my main.prg set are main startup.
**main.prg**
on shutdown do myshutdown
_screen.windowstate=2
_screen.closable=.f.
do form frm_admin
read event
on shutdown
**my shutdown file**
&& myshutdown
clos all
clea all
capslock(.f.)
clear events
quit
what could be causing this issue?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I don't have a config.fpw, but you clued me into the foxuser.dbf. I deleted foxuser.dbf and when I ran the application it recreate the foxuser.dbf resolving the issue. Thanks for help pcelba our foxpro community. :)
Open in new window
Of course, you should ensure the frm_admin form does not hide the screen again.