Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generate closes FoxPro
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00057022
Message ID:
00058021
Views:
48
>>>>>I'm trying to convert a VFP 3.0 app to VFP 5.0a. When I try to generate a menu, the whole VFP session is blown away. I made a new menu with only one item, generated it and the same happened. Then I tried a "quick menu" with no changes, generated it, and the session was blown away again. I haven't found anything in help or at Microsofts site (yet); does anyone have any idea what I'm doing wrong?
>>>>
>>>>Dallen,
>>>>
>>>>There's a new version of GENMENU available from the Owners' Area/FoxPro. It's supposed to address a number of known issues.
>>>>
>>>>hth.
>>>>
>>>>George
>>>
>>>
>>>Thanks, George. I'll check into it as soon as I get back from my client's site tomorrow.
>>
>>
>>George/Erik
>>
>>An update. I copied the new genmenu.prg from Microsoft and tried again to no avail; VFP still terminatesl. I also created a blank project per Erik's suggestion and was still blown out of VFP.
>>
>>I installed VFP 5.0 on my home PC and don't have this problem, it generates the menu okay - at least it seemed too. At home, I also don't have the "Error initalizing Application object" warning that I get at work (see troubleshooting thread "VFP 5.0 Error on Startup"). My PC at work is NT 4.0; home is WIn'95. The work PC aslo has VFP 3.0 installed, home PC only VFP 5.0.
>>
>>The date of the "new" genmenu program is December 7, 1996. Do I actually have the latest one?
>>
>>Needless to say I am quite confused.
>
>That version is later than the one that comes with 5.0, I don't know about 5.0a, however. Check the 5.0a CD to make see if it's more recent than the one on the Microsoft site.
>
>I assume that you're getting a GPF here and that's what shuts everything down. I think it's probably a configuration problem, perhaps caused by both versions being loaded.
>
>Thinking about this problem, really there's nothing going on that should cause this. GENMENU simply opens a table and generates the menu code, and writes it to the disk. That shouldn't cause the type of problem you're experiencing. I'd try tracing through the process to see where the "blow up" occurs. I'd also take a look at the menus in table form.
>
>That's about all I've got.
>
>George


Thanks George. I looked at the menu in table form but didn't see anything obvious. Think I will do a complete uninstall of both VFPs and re-install only VFP 5.0 and see how things work then (wish I hadn't left the CD at home). After the CD install I think I'll apply the service pack 2 updates, since the CD doesn't have them. I agree with your analysis of what genmenu does, it's really only a code generator. Doesn't make since that the whole VFP window would just close (that's what I mean by "blown out", no visible GPF) when generating a menu. It has to be my work PC configuration, as it works fine at home.

Thanks again.
Dallen K. Delk, Jr.
ddelk@nngov.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform