Discussion:
Error when trying to Run from Project Explorer
(too old to reply)
Donald J. Minick
2004-01-01 22:02:20 UTC
Permalink
When trying to run (right click-run) a wfm or prg from the project explorer
I get the following error:

Error: Variable undefined: RUNFILE

File: pBuilderplus.pop
Routine: PBUILDERPLUSPOPUP::RUN_ONCLICK
Line: 224

Worthy of note, I was unable to register funcky60.dll either during normal
install of 2.2 or in subsequent manual attempt (see prior post in this NG)
Silvio Genco
2004-01-02 13:30:58 UTC
Permalink
You'r not the only one........ me too
Silvio
Post by Donald J. Minick
Error: Variable undefined: RUNFILE
File: pBuilderplus.pop
Routine: PBUILDERPLUSPOPUP::RUN_ONCLICK
Line: 224
Ken Mayer [dBASE, Inc.]
2004-01-02 16:18:11 UTC
Permalink
Post by Donald J. Minick
When trying to run (right click-run) a wfm or prg from the project explorer
Error: Variable undefined: RUNFILE
File: pBuilderplus.pop
Routine: PBUILDERPLUSPOPUP::RUN_ONCLICK
Line: 224
I have entered QAID: 4601 for this.

Ken
---
Ken Mayer [dBASE, Inc.]
** Please respond ONLY in the newsgroups **

"Think OOP"

dBASE, Inc. website: http://www.dbase.com
O. D. Williams
2004-02-24 23:10:13 UTC
Permalink
On Thu, 1 Jan 2004 17:02:20 -0500, "Donald J. Minick"
Post by Donald J. Minick
When trying to run (right click-run) a wfm or prg from the project explorer
Error: Variable undefined: RUNFILE
File: pBuilderplus.pop
Routine: PBUILDERPLUSPOPUP::RUN_ONCLICK
Line: 224
I am getting the same thing. I have a one-line PRG that just runs the
form ("Do LockTest.wfm with true"). I get this error when executing
the WFM or the PRG from the project explorer.

[Note: Dbase 2.20, Windows 2000, lotsa memory and free disk space.]

I also get NOTHING when running the EXE from the project explorer.
Other EXE files I have created work just fine from the project
explorer. I suspect that the problem may be in the program or form or
datamodule, not the project explorer. Further research is ongoing.

However, I can run the WFM and the PRG from the navigator with no
errors whasoever.

I cannot run the EXE from My Computer or the Windows Explorer. When
tested on a Win98 machine, LockTest.exe did create a new INI file, but
nothing else happened. (This machine has the runtime only).

This is a very small form, program and datamodule and a small 15 row
table. I can zip it all up and send a copy if you are interested,
Ken.

-O. D. W.-

The O. D. Williams philosophy of programming.
Why there is ALWAYS one more bug.
1. Debuging code is always much harder than writing it.
2. Therefore, if your code is as clever as you are capable of
making it, you are, by definition, inadequate to debug it.
Ken Mayer [dBASE, Inc.]
2004-02-24 23:16:56 UTC
Permalink
Post by O. D. Williams
Post by Donald J. Minick
Error: Variable undefined: RUNFILE
File: pBuilderplus.pop
Routine: PBUILDERPLUSPOPUP::RUN_ONCLICK
Line: 224
I am getting the same thing. I have a one-line PRG that just runs the
form ("Do LockTest.wfm with true"). I get this error when executing
the WFM or the PRG from the project explorer.
This has been addressed in an internal build. Once some more fixes are
done we hope to get the completed version out there.
Post by O. D. Williams
I also get NOTHING when running the EXE from the project explorer.
Other EXE files I have created work just fine from the project
explorer. I suspect that the problem may be in the program or form or
datamodule, not the project explorer. Further research is ongoing.
Yes. There are problems building an exe from the new PE, and those
have been addressed.

Ken
---
Ken Mayer [dBASE, Inc.]
** Please respond ONLY in the newsgroups **

"Think OOP"

dBASE, Inc. website: http://www.dbase.com
O. D. Williams
2004-02-25 00:36:33 UTC
Permalink
Post by O. D. Williams
I suspect that the problem may be in the program or form or
datamodule, not the project explorer. Further research is ongoing.
Ken,

And here is an interesting development in that research. I followed
your suggestion and renamed ProjExp so that the old one would come up.
At first I thought all was fixed because I could now "run" the PRG or
the WFM from the PE with no problem.

However, the following three options on the "Build" menu are grayed
out.

Build LockTest.exe
Run
Debug

That seems strange.

I then use the old PE to open a project that had worked correctly in
the past with the 2.20 PE and now all the Build menu options are live.
(i.e. the three above are no longer grayed out.)

Thus, I still think part or all of the problem is in the PRG, WFM
and/or DMD pieces of the project.

All of the projects that worked and compiled as expected in the NEW PE
also work for me in the OLD PE. This one project that would not work
in the new PE works better in the old PE, but still does not work
correctly.

My offer to send a zip file still stands...

-O. D.-

The O. D. Williams philosophy of programming.
Why there is ALWAYS one more bug.
1. Debuging code is always much harder than writing it.
2. Therefore, if your code is as clever as you are capable of
making it, you are, by definition, inadequate to debug it.
Ken Mayer [dBASE, Inc.]
2004-02-25 13:25:46 UTC
Permalink
Post by O. D. Williams
However, the following three options on the "Build" menu are grayed
out.
Build LockTest.exe
Run
Debug
That seems strange.
Check to make sure that you have a "Main" file.
Post by O. D. Williams
I then use the old PE to open a project that had worked correctly in
the past with the 2.20 PE and now all the Build menu options are live.
(i.e. the three above are no longer grayed out.)
There are, as noted, many problems with the new PE that have been
addressed.

Ken
---
Ken Mayer [dBASE, Inc.]
** Please respond ONLY in the newsgroups **

"Think OOP"

dBASE, Inc. website: http://www.dbase.com

Loading...