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

starting a program - foxpro 2.6a

Status
Not open for further replies.

dciadmin

IS-IT--Management
Joined
May 10, 2002
Messages
34
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
 
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.

Rick
 
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
 
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.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top