Gah! That was it. Switching between VFP, VBA and C# I get confused sometimes! Thanks MakteItSo.
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
...GetCompanyList = oRS
End Function
</snip>
When this is run/compiled I get:
"Invalid use of object" on the GetCompanyList = oRS line.
Help!
***************************************
Need help running those old FoxPro apps on modern systems...
If you're using HP PCL6 drivers try using a standard LaserJet 4 driver instead, or the PCL5 versions.
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
Try putting:
stacks = 10,256
in your CONFIG.SYS under 95/98 or CONFIG.NT under 2K/XP
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
...is to share it from the server as so then you can NET USE an LPT port to say \\server\usbprinter and then print to the LPT port from your FPD app.
***************************************
Need help running those old FoxPro apps on modern systems...
He means do a SHOW GETS. You can't do what you're trying to do without stuffing the keyboard buffer.
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
Sorry that should have been:
PC1
NET USE LPT1 \\PC2\PRINTER
PC2
NET USE LPT1 \\PC1\PRINTER
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
...PC1
NET USE LPT1 \\PC2\PRINTER
PC2
NET USE LPT2 \\PC1\PRINTER
So if you print to LPT1 on either, the output will come out off the other PC.
***************************************
Need help running those old FoxPro apps on modern systems...
Under FPW / FPD .... forget it. Sorry!
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
Under ME you need to edit SYSTEM.INI and change or add the PerVMFiles setting, 200 should do it.
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
...on some setups, doesn't on others.
NET USE LPT3 \\server\sharedprinter
Then
SET PRINTER TO LPT1
in your app.
Also, see sig below for more !
***************************************
Need help running those old FoxPro apps on modern systems...
...Fonts too. If you're doing any @ ... SAY commands or the like make sure the co-ordinates you're specifying are inside the bounds of their window.
***************************************
Need help running those old FoxPro apps on modern systems...
...set by the user selecting an item. In the Valid you can then GOTO that value in the temp cursor so you're then looking at what the user selected.
***************************************
Need help running those old FoxPro apps on modern systems...
Looks OK, although you'll probably get a nasty command prompt window flashing onto the screen!
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
...in Windows and then just print to the relevant LPT in your app, i.e. SET PRINTER TO LPT2.
You have up to 9 which should handle most requirements.
***************************************
Need help running those old FoxPro apps on modern systems...
...systems. You can look at things like www.tamedos.com to alleviate that.
Regarding the blinking ... try different fonts in the DOS box properties.
***************************************
Need help running those old FoxPro apps on modern systems...
...FPD and FPW can't use mor e than 16Mb memory though!
Also, this article may be helpful:
http://fox.wikis.com/wc.dll?Wiki~Fpd26OnWin2000~VFP
***************************************
Need help running those old FoxPro apps on modern systems...
No ... you can't cheat like that! :) You may need to look at how your data is organised.
***************************************
Need help running those old FoxPro apps on modern systems?
http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
...date of birth (date)
other details (memo)
then you might use:
create table mytable (name C(30), age N(3,0), salary N(12,2), dob D, other M)
***************************************
Need help running those old FoxPro apps on modern systems...
...I find the best solution is TameDOS from Tame Software. You can also alleviate it by setting CLOCK=OFF in CONFIG.FP.
See link below also.
***************************************
Need help running those old FoxPro apps on modern systems...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.