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

distributing a project

Status
Not open for further replies.

Samalia

Technical User
Jun 7, 2005
46
CA
I want to make a program out of the database that ive created so that my users dont have to have foxpro on their computers. I've made an executable, but when I install it on a user's computer and try to run a report I get an error message because I don't have foxpro on that computer. Is there anyway I can stop this from happening without having to create a reportouput app?
 
No, thats not it, I have all the run time files included, and still after I install the program, run it and try to preview a report, it looks like its loading the report but nothing happens, not even an error message.
 
Does your program have a wait state? You need something to stop and hold it in place for the user to see it.

The standard way to do this is to issue:

READ EVENTS

after you've done all your set-up work and put up the menu or the main form or whatever your user sees first.

Then, the code that shuts down the application issues:

CLEAR EVENTS

Tamar
 
Ive tried that, it still looks as if its about to load, then nothing, here's my code;

DO menu.mpr
READ EVENTS
CLEAR EVENTS
 
OK, get rid of the CLEAR EVENTS right after the READ EVENTS.

Put Clear Events in the Exit procedure in your menu or forms. Then make sure the next line of code after READ EVENTS handles the exiting of the program gracefully, closing DBFs, clearing memory and shutting down properly.



Don Higgins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top