>Hi Naomi,
>
>>Thanks, Tracy. I have a problem here and it seems a complex one again. I worked on VPM application from VFP first (no VPM) and the application had Admin menu.
>>
>>I then switched to VPM and at some point build the application from it. Now the application doesn't have Admin menu and I want it back. I understood I had to go through setting Security manual, but why would the behavior change all of the sudden?
>
>My guess would be that your original application did not set _GENMENU to GenMenuX, whereas VMP sets it to that. So when you recompiled your menu using GenMenux, the Admin menu is not displayed because you don't have the correct security rights to access it.
You seems to be absolutely right. I was sure we were using _GenMenuX, but I just checked, and my VFP version points to _GenMenu. Let me verify this with another developer here, but looks like you really nailed the problem.
I think I was able to do it (at least partially). My app produced an error, I was able to switch to command window and run the form for setting the menu permissions.
If it's not broken, fix it until it is.
My Blog