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!

building a .exe

Status
Not open for further replies.

bmarima

Programmer
May 7, 2001
7
US
i build a project using the wizard
i created the database
all forms and reports run under the development environment .The
executable is built with no errors but when i run the .exe i get an error
that main program not found. i have setmain to the program
generated in my framework and i get the same error.
when i run the main program i get this error on"APP_GLOBAL = NEWOBJECT(APP_CLASSNAME, APP_CLASSLIB)" variable app_classname not found
 
HI
THE FRAME WORK HAS USED SOME CLASS TO THE PROJECT BUT THIS SEEMS NOT INCLUDED IN THE EXECUTABLE. YOU HAVE TO INCLUDE THIS CLASS AND RECOMPILE. JUST CHECK, IF YOU HAVE MARKED THIS CLASS AS EXTERNAL.
ALTERNATIVE .. COPY THE FRAMEWOKS APPLICATION CALSS LIB... IN THE DEFAULT WORKING DIRECTORY AND TRY.

HOPE THIS HELPS :) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
That helped but there is new problem
when i do build executable and run, the program runs but when i run the program(by doble clicking the .exe) on its own nothing happens
 
In your main.PRG after the DO FORM command.. or in the main forms init event... add the code..
READ EVENTS

The final exit shall have CLEAR EVENTS.

This could be the reason why your EXE is not showing up.

:)
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
i try to build a VFP (6.0 sp5) executable and pass some variable to the executable from the dos prompt, the output is quite different from the input.

any idea!

the following is the test program
**********************
parameter instring && just display this variable
? instring
wait window "" timeout 5
return
**********************

input output
/b .f.
/t t
/hk /hk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top