Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot find the menu-generation program (Error 1693) 2

Status
Not open for further replies.

mrustad

IS-IT--Management
Sep 15, 2000
7
0
0
US
I get the following message: Cannot find the menu-generation program when trying to create and .exe in VFP 6.0.

Does anyone know how to get around this error? I'm very new at this and any help with this would be greatly appreciated.
 
Hi my friend,
Go to Tools--> Options, and select the tap File Locations
scroll down to Menu Builder then
Make sure that it points to genmenu.prg
It suppose to look like this...
c:\program files\microsoft visual studio\vfp98\genmenu.prg
Click Set As Default, you done
Hope this will help Walid Magd
Engwam@Hotmail.com
 
Hi my friend,
Rgarding your new problem you sent to me as an E-mail about
The error message
Unable to find Proc./Func. MAINHWND
Unable to find Proc./Func._WHTOHWND
Unable to find Proc./Func._WONTOP
It seems like you have a foundation class in your project like _multimedia.vcx or any other class making use of these porcedures in FoxTools.fll
I already posted an answer for this kind of problems in the
thread184-55306 . Please read it cerfuly I am quite sure it will help you.
As a shortcut all you need to do....
1- Find the file FoxTools.fll under you VFP98 directory
[if you have Fox 2.x in your computer make sure you point to the one under visual Fox directory]
2- Copy this file to the root directory of your project
for example D:\myprograms\VFP\project13- in your main program [the program marked as main and its name is Bold in the project manager window] insert these lines of code

*// I like Jon Hawkins's coding style for the next two lines of
*// code more than mine,very good opportunity to say thanks

*// Jon for reminding me that AddBs and JustPath are now

*// native functions.


Code:
Z=AddBs(JustPath(Application.ServerName))
SET LIBRARY TO Z+"foxtools.fll" ADDITIVE
EXTERNAL PROCEDURE MainHWND
EXTERNAL PROCEDURE _WhToHwnd
EXTERNAL PROCEDURE _WOnTop
Finally, use your editor Find to search your application [make sure that the search scope is All objects] for the command "SET LIBRARY TO ", if you find this command AND it sets the library to foxtools AND it is in defferent place than the one you inserted your self in the prevous steps, delete it or insert * before it.
Build your application, you can still have the same error message just ignore it, it souldn't be a problem any more.
Again, I recommed that you read the thread thread184-55306 it will help you
hope this will help Walid Magd
Engwam@Hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top