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

Search results for query: *

  1. OnePunchMickey

    Excel 2003 returning RS from function.

    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
  2. OnePunchMickey

    Excel 2003 returning RS from function.

    I've got code along these lines: <snip> function DoImport() Dim oCompanyRS As ADODB.Recordset Set oCompanyRS = GetCompanyList("c:\folder\system") end function Function GetCompanyList(FullSystemPath As String) As ADODB.Recordset cConnectString = "Provider=VFPOLEDB.1;Data...
  3. OnePunchMickey

    PRINTING PROBLEM IN W2K, WXP

    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
  4. OnePunchMickey

    FoxPro Stack Fault

    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
  5. OnePunchMickey

    Printing to USB Port from FP2.6 DOS

    There are third-party applications which let you do it. The easiest way 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...
  6. OnePunchMickey

    How do you control the cursor position in an @EDIT?

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

    Foxpro 2.6 Dos Printing in WinNT

    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
  8. OnePunchMickey

    Foxpro 2.6 Dos Printing in WinNT

    Well it's a good idea to NET USE above LPT2 in case there's ever a physical printer on LPT1 on a particular PC. I don't see how redirecting LPT1 on a PC to a shared printer on another PC would create an endless loop though. PC1 NET USE LPT1 \\PC2\PRINTER PC2 NET USE LPT2 \\PC1\PRINTER So if...
  9. OnePunchMickey

    How do you control the cursor position in an @EDIT?

    Under FPW / FPD .... forget it. Sorry! *************************************** Need help running those old FoxPro apps on modern systems? http://www.hentzenwerke.com/catalogpricelists/painlesse.htm
  10. OnePunchMickey

    error: too many files open

    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
  11. OnePunchMickey

    Foxpro 2.6 Dos Printing in WinNT

    The best approach under NT/2000/XP is to use a NET USE command in Windows to redirect an LPT port to your shared printer, then print to LPT whatever in your app. The method you had is flaky IMO - may work on some setups, doesn't on others. NET USE LPT3 \\server\sharedprinter Then SET PRINTER...
  12. OnePunchMickey

    position is off the screen?

    Make sure you're running at minimum 800x600 desktop with Small 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...
  13. OnePunchMickey

    Simple Listbox question

    You're talking about FoxPro 2.6 for DOS / Windows, not VFP here ? You can't AFAIK. Sorry! It might be better to put the data into a cursor instead. Like: SELECT field1 + &quot;|&quot; + field2 FROM table INTO CURSOR temp Then base the list on the cursor - you'll see 2 columns in the list...
  14. OnePunchMickey

    set printer to \\machinename\printername - HELP!

    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
  15. OnePunchMickey

    set printer to \\machinename\printername - HELP!

    No, TameDOS just addresses a problem where DOS apps continually poll the keyboard and cause 100% CPU utilization. I think the only 100% foolproof solution is to use NET USE commands 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...
  16. OnePunchMickey

    FPD2.6 slow operation in XP DOS window

    The keyboard thing is the usual - many DOS apps including FoxPro for DOS continually poll the keyboard, resulting in high CPU usage and sluggish performance under NT-based operating systems. You can look at things like www.tamedos.com to alleviate that. Regarding the blinking ... try different...
  17. OnePunchMickey

    printing in windows2000

    NTFS isn't a problem ... like rqbean said, DOS / Win16 apps run in an emulated machine under Windows 2000, so you're well isolated from the OS file system. I'd have to query the statement that FPD and FPW can't use mor e than 16Mb memory though! Also, this article may be helpful...
  18. OnePunchMickey

    foxpro 2.6 Windows

    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
  19. OnePunchMickey

    foxpro 2.6 Windows

    Ok, say you have name (30 chars) age (numeric, no decimals) salary (numeric, 12 long with 2 decimals) 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...
  20. OnePunchMickey

    problem with fox2.6 for DOS and Win2000 Server

    FPD (and other DOS Apps) can cause heavy CPU utilisation under the NT kernel operating systems, i.e. NT, 2000, XP. This is due in a large part to their continual keyboard polling. I find the best solution is TameDOS from Tame Software. You can also alleviate it by setting CLOCK=OFF in CONFIG.FP...

Part and Inventory Search

Back
Top