Hi Narong,
In your VFP directory you'll find the source code for GenMenu. You can modify it to include these two commands (along with any others you'd like.)
>Hi..All
>I generate menu from menu design (.mnx) I don't want add this line :
>
>SET SYSMENU TO
>SET SYSMENU AUTOMATIC
>
>in menu program (.mpr) How I can do?
>If everybody to know please tell me..
>
>Thanks
>Narong
kenweber
GCom2 Solutions
Microsoft Certified Professional