Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No recent list when vfp6 opens
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
No recent list when vfp6 opens
Divers
Thread ID:
00856205
Message ID:
00856205
Vues:
65
Could anyone tell me why I do not get a recent used project list and the last open project does not open when VFP 6 is launched?

This is the code in my config file:
TITLE = VFP 6.0
COMMAND = DO sys(2004)+'macstart.prg'
mvcount = 5000
This is the resource code ran from setEnvir.prg called from macstart.prg:
lcFile = "C:\Program Files\Microsoft Visual Studio\Vfp98\foxuser"
lcApplicationTitle = "VFP6-1"

DECLARE INTEGER FindWindow IN Win32API;
STRING @lpClassName, STRING @lpWindowName
lnHWnd = FindWindow(0, @lcApplicationTitle)

IF lnHwnd = 0
	SET RESOURCE TO (lcFile+".dbf")
	_screen.caption = "VFP6-1"
ELSE
	SET RESOURCE TO (lcFile+"2.dbf")
	_screen.caption = "VFP6-Test"
ENDIF
Are there other setting I am missing by running this code?

Thanks in advance for anyones help, Chuck
Extreme Programming = Plan -> Design -> Code -> Test
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform