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

How do you build a compiled program

Status
Not open for further replies.

vincerogers

Programmer
Jun 29, 2001
1
GB
we have just converted a clipper prog to VFP6 and all works well in fp environent. when we compile and run the program hangs. if we use the app wizard and put a hook into the new prog by adding a menu option which does a "do fl1" all works fine except that we now cannot use the report form preview. we have found mentions in msdn that we must have _mview available to the user. but we cannot find anything in the wizard created code to do this.
as a by word we tried to create a single form with one button on the form to do fl1 but this prog starts up and then instantly shuts down ??
 
If this a one form application, then make sure it's WindowType property is set to 1 - Modal. Otherwise, make sure you issue a READ EVENTS (the IDE has one in effect by default) in your "main" program, and make allowances in the Form or Menu to do a CLEAR EVENTS.

* MAIN.PRG * Sample
* < init stuff >
do mymenu.mpr
do form myform && non-modal
READ EVENTS
* < clean up stuff >
* End of Program *

Rick
 
Hi,
I am wondering why my computer shows that there are no response for this thread? I refreshed and loged in again, still, this thread is marked 0 response!!!!! huffff
I see Rick had responded and I fully agree with his comments. I am just endorsing so that Vincerogers gets the message in case Ricks comments goes unnoticed.
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
Hi ramani,
Thanks for your concern (and kind words), but it now shows two responses (or I guess this will make it 3 <g>).

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top