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

Recent content by GemWarner

  1. GemWarner

    Date Modified is a future date so project doesn't compile

    Did you try opening the project and selecting the "Rebuild All" option from the build window? I think that this should rebuild the entire project recreating the .spr files. Then just run compile *.spr and compile *.prg.
  2. GemWarner

    urgent: problems with popup

    Try these: 1) When the popup is..."insufficient memory" error. Have you disabled the F2 ON KEY LABEL command when you activate the popup; pressing F2 again will try to activate the popup again and give you that "insufficient memory" error. 3..4) Creating a screen that displays the items in a...
  3. GemWarner

    Why year 1900 is not a leap year?

    Funny thing leap years, the normal rule is that as long as the year is exactly divisible by 4 then it's a leap year; however when it comes to century years another rule has to be applied... the year must also be divisible by 40; don't remember exactly why but it has something to do with a year...
  4. GemWarner

    Report printing in .EXE differs from .APP

    TheManiac, How about just colouring the actual fields rather than using boxes, and tiling the different coloured fields on each other. You can then use the print when... option to print the different colours when required. Let me know if you want me to explain further. Gem
  5. GemWarner

    FoxPro 2.6a will not start on Windows XP

    Check your 'compatibility' option for your applications under the shortcut's properties, for some reason turning it on causes fox to stop running on my machine, not sure why. Please reply if this helps. Gem
  6. GemWarner

    FPW2.6 Screen Text Disappears

    Two things, 1) check that you have not manually placed a clear command in the general options of the menu and 2) Try modifying the menu generator and removing the clear from there. (ps I didn't find a clear command in my generator) Hope one of these suggestions helps Gem
  7. GemWarner

    Cursor disappears

    Can't say I've ever had that problem before. It's also strange that it only happens with a textbox; - have you tested it with any other objects - is it the same textbox everytime - is it on a particular form - have you checked the fore/back etc colours of your textbox - I know you said a normal...
  8. GemWarner

    Printer

    Not sure if this applies to VFP but in foxpro 2.6 for windows I would setup a "Generic Text/Only" printer for printing reports; this prints much faster than if you use the native printer driver provided with the printer or windows. Hope this helps Gem aka "the new KID"
  9. GemWarner

    Hot-key assignment to Form Buttons

    I would probably play it dirty and create the buttons with the hot keys off the screen ie at a negative left position on the screen; assign tab stop to .f. and for the click even, just run the click even of the button with the picture; setfocus to the picture button as well. Clearing you would...
  10. GemWarner

    "Pure Virtual Function Called"

    When you create a report on your machine Fox stores the printer information (that is your printer information) in the report database so that the next time you run the report it will try to use the same printer and the settings you specified ie Page settings such as landscape, letter, etc; if...
  11. GemWarner

    Need help with this code

    Your code suggest that you're not even using the cursor you created. The data you're working on seems to be in a table called back_report. So why not work directly on the table using 'jonscott8' date suggestion and a replace command. ie Replace all back_report.orddate with...
  12. GemWarner

    Set default to

    The key here, as Ramani suggested is not the 'set default to' but the path. Your default directory can be the 'f:\' drive but your path can include whatever directories you want ie set default to f:set path to f:\;c:\temp;f:\data these commands would set your default directory to 'f:\' and...
  13. GemWarner

    Windows Millennium Printing Preview

    What do you mean "crashes out of FoxPro"? Did you create the reports using a specific printer; the printer would need to be installed on the new machine in order for the report to work. Hope this helps Gem aka "the new KID"
  14. GemWarner

    Inconsistant Run-Time Errors

    Without seeing the code it's like feeling around in the dark for a light switch... but my best guess would be to check the variable type before running your "if" statement that way you'll know what the variable type is before you test for it's contents. I can only guess that you need...
  15. GemWarner

    How to update ActiveX control

    Have you tried hacking the VCX/SCXs. There are all tables that you can open and replace the old controls with the names of the new ones. If you intend to do this don't forget to save a copy of the original first (as we all do when we try something new :)). You may have to recompile I think so...

Part and Inventory Search

Back
Top