Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Executable errors
Message
From
06/10/1998 15:43:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143745
Message ID:
00144348
Views:
26
>Hi Perry,
>
>>I created the application with the wizard. When you say explicitly, do you mean that I should just include the menu in the project, but not call it in the main.startup() method????
>
>Usually only the generated code is included into the APP file, not the MNX files, nor the MPR file. I meant that you should try to go to ther Other tab in the project manager, click on add and select the MPR file of the menu. Leave the rest of the application as it is.
>
>Christof

There's another tricky thing - I've had a .mpr OK, and then I wanted it to have one bar more (it was a shortcut menu) if called from a rightclick of a certain class of objects. I've added a parameter statement to the .mpr, added couple of lines of code, and in development it worked fine - displayed five bars when rightclicked on some objects, and six bars on others, just as planned.

Then, in .exe, it claimed that there's no Parameters statement. Dammit, I thought, it generated without asking me, I'll have to write it up again. But, looking at the .mpr, I saw it's the way I left it. Then I just renamed the .mpr into a .prg, removed the menu from the project, and replaced the references to the .mpr into references to the .prg wherever needed. Rebuilt and it worked.

Conclusion: it generated a temp .mpr and included _that_ in the .exe. The .mpr file probably serves just for testing; what actually gets included is the .mnx/.mnt and a .mpr generated on the fly.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform