Link to home
Start Free TrialLog in
Avatar of kgiridhar
kgiridhar

asked on

creating a stand alone exe file in foxpro2.6

i have develpoed a program and i used the project builder for creating a stand alone exe file that could be run on dos and not in a foxpro environment but could not do so could anyone guide me how could i create a stand alone exe file in fox pro.
Avatar of ramrom
ramrom
Flag of United States of America image

ForPro does not support stand alone executables. Runtime files must be present along with your .exe. You use the setup wizard to create a set of files that can install your executable along with the appropriate runtime files on a target computer.
Avatar of JohnBickner
JohnBickner

If I remember right (and there's a good chance I don't), there was a level of FoxPro 2.6 that would allow you to create an exe file and and one that didn't.  Kind of like Standard, Professional and Enterprise versions, only I don't think they called them that.

I also faintly remember a distributable engine that would run an app, but I think it was dropped before they got to 2.6.

What happens when you try to create an executable?


Foxpro 2.6 have distribution kit.
If you are running the professional edition of FoxPro 2.6, then:

1. you have to build a project from your source code .prg
2. you have to build a standalone .exe from your project .pjx
It sounds like you have already created the .EXE file. The problem you have (and I discovered when I first started in Foxpro 2.6) is that the .EXE will not run unless you include the Foxpro runtime file in the same directory as the .EXE you wish to run.

For Foxpro 2.6 the runtime file you need is:

     FOXW2600.ESL

You should be able to find this file in the same directory as the one in which you installed Foxpro.
you shoud obtain fox pro distribution kit and install it. then you can make .exe file from project. Then you can distribute .exe (always with library named foxw2600.esl)
ASKER CERTIFIED SOLUTION
Avatar of EdRauh
EdRauh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dear: zdravko

I've rejected your proposed answer as Experts Exchange holds an experiment to work without the answer button.

See:        https://www.experts-exchange.com/jsp/communityNews.jsp
Paragraph: Site Update for Wednesday, November 06, 2002

By this rejection the Asker will be notified by mail and hopefully he will take his responsibility to finalize the question or post an additional comment.
The Asker sees a button beside every post which says "Accept This Comment As Answer" (including rejected answers) -- so if he/she thinks yours is the best, you'll be awarded the points and the grade.

Thanks !

modulo

Community Support Moderator
Experts Exchange
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Answered by: Edrauh

Please leave any comments here within the
next seven days.

***PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !***
Per recommendation, force-accepted.

Netminder
EE Admin