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


starting a program - foxpro 2.6a

starting a program - foxpro 2.6a

starting a program - foxpro 2.6a

I am faily new to foxpro 2.6 application.  We write many custom programs that we use throughout the day.  I have a question on the correct way to load the programs.

Right now, I am writing the program in notepad or wordpad.  Then I save the file with a .prg extension.  Then I create a shortcut for it that starts up the foxpro application and then runs the program file.  When the program is finished it exits.  We have several programs that startup and exit that we use throughout the day.  Some programs will stay open for most of the day.  So we might have several programs running at the same time in different sessions of foxpro.

All in all this has worked fairly well.  Lately though I have been getting "signal out of range" errors from time to time that occur when trying to run a foxpro program.  Was wondering if all the bouncing in and out or the multiple sessions of foxpro was a problem?  Should all the programs instead be run from a single session of foxpro that stays open all day and the various programs run from there through a menu?

Thanks for your help

RE: starting a program - foxpro 2.6a

I've never seen and I can't find any reference to a FoxPro message like that. What version of FoxPro 2.6a are you running? (Windows, DOS, Mac, Unix?) What operating system (and SP) are you running?

Your environment seems quite non-typical - most developers use the FoxPro editor to create programs that are part of a Project, that gets built into an .EXE, which the end users run under the Runtime files.


RE: starting a program - foxpro 2.6a

Hi Rick,

Thanks for the response.  No, the "Signal out of range" error is not a foxpro error.  It normally has to do with the video adaptor/settings or driver.  I have gone through the recommended fixes for that short of installing another video card to try.  It happens on two of my machines (both using the same built-in video adaptor)

I was suspicious of foxpro (windows version run on windows 98 2nd ed) because the problem usually happens after running for awhile (half day or so -- but sometimes not at all) and always happens after trying to run another session of foxpro.  Just double-clicking on the shortcut for one of the programs causes the error to come up (black screen with blinking "signal out of range").  After this happens the machine is completely frozen until manual power off.

It has been suggested that it is memory related which prompted my question of proper loading of programs.  The machine has 256mb ram.  It also has to run various other intensive programs such as AutoCad and Office.  So far playing with the memory lines in foxpro config has ranged from no results to totally locking the system up

RE: starting a program - foxpro 2.6a

I've found that the MEMLIMIT can be critical, I use:
MEMLIMIT = 60, 2048, 16384

I don't believe FPW can use more than 16MB.

Are you doing any report previews? If yes, do you use the "standard" HP printer drivers - they can cause problems.

For such "intense" processing, you might want to consider upgrading this machine to a real OS - NT 4.0 SP6a, W2K SP2 or XP Pro.


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!

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