Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 Executable runs, but does not appear on screen.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
VFP6 Executable runs, but does not appear on screen.
Divers
Thread ID:
00210179
Message ID:
00210179
Vues:
67
I have created an executable program and when I double click on it, it appears to run, but no forms etc appear. (If I do a CTRL-ALT-DELE it shows up in the task list.) It doesn't even place an icon on the taskbar.

It happens both in windows 95 and windows 98.

Here is the main snippet of code that runs as a startup program:

PUSH menu _msysmenu
ON SHUTDOWN DO quitfox
DO barmenu.mpr
DO form passset
** ohoh is a public variable that is set based on the
** results of getting user name from passset
IF ohoh
RETURN
ENDIF
DO FORM LBLPRINT
READ EVENTS
POP menu _msysmenu
_SCREEN.caption='Visual Foxpro'
SET dele off
CLOSE all
RETURN

When this runs inside the VFP environment, the forms all show, code executes etc.
passset is a modal form that is supposed to stop, while the user enters there pass code.

This application worked in VFP3, I am trying to upgrade it to VFP6.

Why does it not show the forms...
properties
ShowWindow =0
LockScreen=.f.
etc.
But they do not appear on the screen.
Once the final form has been completely loaded, I placed a wait window at the end of the init of that form, and it shows up. But no form...
Nothing shows up on the task bar either...

Any ideas?

Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform