troubleshooting Question

Visual Foxpro have to double start application for it to work?

Avatar of N P
N P asked on
FoxPro
3 Comments1 Solution14 ViewsLast Modified:
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?
ASKER CERTIFIED SOLUTION
Pavel Celba
All in One

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros