i have a program and now i try to make one file EXE to try my program before make the setup the problem is that when i open the exe file it run the application and then close it.
i do that in VFP 5 and the code i have in programs is:
DEACTIVATE WINDOW "Project Manager"
SET SYSMENU OFF
set exact off
SET NEAR ON
SET ANSI OFF
SET CONFIRM on
SET DELETED ON
PUBLIC referencia
public designacao
public pesoformula
public loteproducao
PUBLIC MAQUINA
PUBLIC aviso
public podepassar
PUBLIC nivel
public nomeform
public vemde
public linhaprod
public usernome1
referecia="REFERENCIA"
loteproducao="000000"
linhaprod="Linha 1"
vemde="inicio"
set path to \\base\bases\sim\;\\base\EMPRESAS\aaa\;c:\foxtestesOPEN DATABASE \\base\ALA\simficheiros\FIL SHARED
OPEN DATABASE \\base\EMPRESAS\aaa\PHC SHARED
nivel=0
referencia="TC"
do form acessoprincipal.scx
DO CASE
CASE nivel=9
do menu9.mpr
CASE nivel =1
do menu1.mpr
OTHERWISE
quit
ENDCASE
read events
thanks...
I'm in ivoestg@yahoo.com
i do that in VFP 5 and the code i have in programs is:
DEACTIVATE WINDOW "Project Manager"
SET SYSMENU OFF
set exact off
SET NEAR ON
SET ANSI OFF
SET CONFIRM on
SET DELETED ON
PUBLIC referencia
public designacao
public pesoformula
public loteproducao
PUBLIC MAQUINA
PUBLIC aviso
public podepassar
PUBLIC nivel
public nomeform
public vemde
public linhaprod
public usernome1
referecia="REFERENCIA"
loteproducao="000000"
linhaprod="Linha 1"
vemde="inicio"
set path to \\base\bases\sim\;\\base\EMPRESAS\aaa\;c:\foxtestesOPEN DATABASE \\base\ALA\simficheiros\FIL SHARED
OPEN DATABASE \\base\EMPRESAS\aaa\PHC SHARED
nivel=0
referencia="TC"
do form acessoprincipal.scx
DO CASE
CASE nivel=9
do menu9.mpr
CASE nivel =1
do menu1.mpr
OTHERWISE
quit
ENDCASE
read events
thanks...
I'm in ivoestg@yahoo.com