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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can someone help me with a main pro

Status
Not open for further replies.

mannah07

IS-IT--Management
Dec 23, 2003
18
DE
Can someone help me with a main prog to start my application?

Here is what I have done, the program runs alright in the project but my executable cant run the forms on the menu.
PROCEDURE TMstart
***********************************************************
*PROGRAM ID : TMstart
*DATE WRITTEN:
*DESCRIPTION :
*PROGRAMMER :
****************************************************

OPEN DATABASE c:\tmonitor\tmdata\tm
do c:\tmonitor\tmmenu\csa.mpr
Read Events

RETURN
set color on
set date british
set echo off
set talk off
set sysmenu off
set device to screen
SET STATUS OFF
CLEAR MENUS
CLEAR POPUPS
CLEAR MEMORY
return
 
What happens when you try to pick a menu item when running your built EXE?

Do you have the form files "included" in the project? If they are "excluded" in the project, can the build EXE 'see' the SCX files?
 
Try this

in the project
open up the menu you are using in menu designer

from the main foxpro menu choose VIEW
select General options (NOT menu options - strangely)

click the checkbox for TOP LEVEL FORM

click the OK button

then re-generate the menu

mrF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top