LOCAL lcMainClassLib LOCAL lcLastSetTalk,lcLastSetPath,lcLastSetClassLib,lcOnShutdown *!* *-- Save and configure environment. lcLastSetTalk=SET("TALK") SET TALK OFF SET BELL OFF lcLastSetPath=SET("PATH") SET PATH TO L:\DATABASE;L:\PROGS;menus;progs set procedure to procs.prg *USE L:\SHARED\WARNING IN 0 SHARED NOUPDATE PUSH MENU _msysmenu lcLastSetClassLib=SET("CLASSLIB") lcMainClassLib="libs\icgtest" SET CLASSLIB TO (lcMainClassLib) ADDITIVE lcOnShutdown="ShutDown()" ON SHUTDOWN &lcOnShutdown ON ERROR ErrorHandler(ERROR(),PROGRAM(),LINENO()) _shell="DO Cleanup IN progs\icgreal" *-- Instantiate application object. RELEASE goApp PUBLIC goApp goApp=CREATEOBJECT("cApplication") *-- Configure application object. goApp.SetCaption("ICG Real Estate System") goApp.cStartupMenu= "menus\remain" goApp.cStartupForm="forms\startup" *-- Show application. goApp.Show *-- Release application. RELEASE goApp>If you don't want to distribute the individual files, the .mnx is the file you include in the .exe...not .MPR. You have these files checked as "Included" on the files tab of the "Project Information" screen, correct?
do mrnu\menu1.mpr
>>>