3 replies
by goyalbro Accepted solution
by ptagg Accepted solution
Sorry this reply is so late. I only just switched to Vista from XP. Getting FoxPro v2 to run with FILES=102 is much easier than making a home LAN work under Vista. 4 steps did the trick.
1. Copy all the FoxPro software, code, data - everything - to exactly the same place on the Vista computer. Drive letter, path and filenames should be identical to what was on the XP machine.
2. If you called up FoxPro on the XP machine using a PIF shortcut to a DOS routine, it'll work just as well in Vista (I have Vista Business and don't know why!).
3. To ensure you get the right number of buffers and files operational for FoxPro v2 under Vista, enter the following values in the PIF shortcut dialogue:
a. Under the "Program" tab, enter the name of the DOS BATch file establishing the FoxPro startup parameters (see [path]\BAT\Fox95.bat, below). Type in that BAT directory name ([path]\BAT) as "Working" directory. Select to run under Normal Window and check "Close on exit".
b. "Memory" tab. Set everything to "Auto" and check the "Uses HMA" button.
c. "Screen". Select "Window" and check all the other buttons.
d. "Compatibility". Select to run as if under Windows 95. Leave the other settings blank.
4. The BATch file needs only to call up FoxPro, for example:
E:
CD E:\
CD FOX
FOXPRO START -T
I've written lots more in there but it's probably not necessary to most people.
5. Under C:\WINDOWS\SYSTEM32 you need to edit AUTOEXEC.NT and CONFIG.NT. I added these lines to AUTOEXEC.NT:
SET FOXPROCFG=E:\FOX\CONFIG.FP
SET mem1=memory variable 1
SET mem2=memory variable 2
The last two lines are in case you need any DOS variables in your FoxPro code.
6. I changed the last few lines of CONFIG.NT as follows:
dos=high, umb
REM ***** Next line is mine
buffers=40
REM ** Next line is the original
device=%SystemRoot%\system32\himem.sys
REM ** Next 2 lines are mine
device=C:\WINDOWS\SYSTEM32\ANSI.SYS
files=102
REM ** Files set to 40 by Windows
I hope this helps someone. It took me ages to struggle with back in 2002. I'm just a music professor and not very technical! I might try and post this with some screenshots on my site (http://tagg.org).
by davidjmp Accepted solution
you can fix the problem in Vista you just need to turn off UAC in "users | Control Users Account"
Sadly solving redirect of USB to LPT so easy in XP with "Net Use" is now seeming impossible.
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending