Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Error in Genscrn

Error in Genscrn

Error in Genscrn

While building an application, an error pops up and I can not find the problem.  I have set the builder to display errors but I only get a blank screen.  The error seems to be related to the Genscrn program.  The message box says, " MEMO file is missing/invalid. Genscrn Line Number: 980. Press any key to cleanup and exit . . . "

After I press any key, the error file displays but it is blank.

RE: Error in Genscrn

Your file is currupt. The related file need to be recreated or restored. This could be in the screen related file.


RE: Error in Genscrn

Which file? I have several screen files in the project.

RE: Error in Genscrn

You'll have to either "make a guess" or check for it yourself. A quick and dirty program like the following should help.

* make sure your current directory is where
* the screen files (.SCXs) reside

fil_spec = '*.SCX'
fil_nam = sys(2000,fil_spec) && get first
DO WHILE !empty(fil_nam)
   ? fil_nam
   USE (fil_nam) && try to open
   fil_nam = sys(2000,fil_spec,1) && get next
ENDDO !empty

This program will "die" when it hits the bad file, just check the name last printed on the screen.


RE: Error in Genscrn

Ok, I had this same problem, with a twist. (FPW 2.6)

Our Fox source files are on a Novell server, my workstation is an IBM Intellistation dual processor running Windows 2000.  For some reason, this PC seems to corrupt the .SCX files (the wysiwyg screen forms), resulting in the "memo" error from GENSCRN. This same error occured when simply attempting to open/edit the screen form.  

The solution was to start over on a Win95 PC, ERASE all the .SCX files from the project folder, then build the project with the "rebuild ALL" option on (apparently it reverse-engineers the .SCX from the .SPR).  We also discovered issues with drive mappings and the project having "hard coded" drive designations - the project must "think" it is in the drive and folder it originally compiled in.  Otherwise, we continued to get the "memo" error.

BTW - If running the code above (which I did) ERASES your .SCX files, you most likely have this same issue. (yes, I know there is NO LOGICAL REASON why this should happen, but I repeated the experiement several times with identical results).  This cost me 2 day's work to figure out.  BTW, common sense here -  save a copy of ANYTHING before you delete it.

Another solution is to regenerate your .SCX files from the compiled source code using a decompiler like REFOX.  The .SCX are not automatically regenerated, but there is a separate FP app distributed with REFOX that can get the job done.  You have to read all the documenation THOROUGHLY to find out about it - check the .hlp file, I found something in the last paragraph on the topic that proved to be the key.  REFOX 8.0 can be obtained for about $400.


RE: Error in Genscrn


I have made a program for regenerating SCX from SPR or PRG file. If You have SPR files with this program You can regenerate scx file. IF You need such a program, mail to me.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close