TITLE = VFP 6.0 COMMAND = DO sys(2004)+'macstart.prg' mvcount = 5000This 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" ENDIFAre there other setting I am missing by running this code?