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 SkipVought 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. rob444

    Has anyone remembered .... ?

    I also started with Dbase II in the 80's and used Dbase III and Foxbase 1 and 2 and quickly found that nothing was faster than Foxbase, continued with foxbase 2.5 and 2.6 and the windows versions but at the time I was not charmed by Windows at all so I didn't use that as much but with VFP 3 and...
  2. rob444

    dbf is not a table

    To know what exactly is wrong with the dbf's try this: How to read a DBF Header and get info about it by rob444 faq184-3162 Posted: 12 Feb 03 (Edited 6 Apr 05) How to use lowlevel functions to read dbf-headers and how to get some info from the header. Updated with Codepage info, the new VFP 8...
  3. rob444

    command window too big for the screen

    Thank you Olaf! Useful to know. Problems with the command window are not common knowledge. I'm a foxpro programmer since the very early days (foxpro 1.1) and I'm still using VFP(9) for programming because there is nothing like it!
  4. rob444

    command window too big for the screen

    Mike, the MOVE WINDOW "command" TO 1,1 command did it!!! I could then change the size of the command window (it was far too large) and then it appeared in full! Thank you again!
  5. rob444

    command window too big for the screen

    Thank you Mike, I'll try them both and let you know! And yes, I'm still able to enter commands.
  6. rob444

    command window too big for the screen

    Hi guys, I'm having difficulties with the command window. It seems to be outside the VFP9 window even when it's full screen. And I cann't move the command window around. The x for closing the window is not on the screen. How do I get the command window in it's proper dimensions and movable...
  7. rob444

    Iterally check field value from FIELDS() structure in loop

    Save the field name to a variable: lcfieldname = field(count) To get the value of that field: lxfieldvalue = &lcfieldname Then you can determine what kind of value the field has as in character or numeric.
  8. rob444

    Using CryptoAPI to implement a license key system

    Perhaps you should have a look at thislink for SoftwarePassport Armadillo which can be very useful.
  9. rob444

    Translate formula into VFP

    And I would use Isdigit(SUBSTR(lcMatricule,i,1)) to replace BETWEEN(ASC(SUBSTR(lcMatricule,i,1)),48, 57)
  10. rob444

    Translate formula into VFP

    *!* Computing Luhn digit liSumDigits = 0 For i = 1 TO LEN(lcInvMatricule) liDigit = INT(Val(Substr(lcInvMatricule, i, 1))) If Mod(i, 2) = 1 liDigit = IIF(liDigit * 2 > 9, (liDigit * 2) - 9, liDigit * 2) Endif liSumDigits = liSumDigits + liDigit ENDFOR liLuhnDigit = (10 -...
  11. rob444

    Translate formula into VFP

    Well Mark, glad you got so much clues so that you could write the function yourself and didn't really needed my "input" ! Rob.
  12. rob444

    Translate formula into VFP

    I've been checking the assumed VFP Luhn algorithm code. Its a (bad) mix of basic and Foxpro code. So I've adapted the code to correct and working VFP code. Enjoy! Rob. CLEAR * some testing for the Luhn functions... ? IsLuhnChecksumOK("0000000000000000") ? IsLuhnChecksumOK("49927398716") ...
  13. rob444

    Translate formula into VFP

    Here are the functions for the Verhoef algorithm... rob6523. ********************************** * the Verhoeff functions * * rob6523 from the Netherlands * ********************************** * Main program Public array gaD[10,10], gaP[8,10], gaINV[10], ReversedArray[10] do...
  14. rob444

    Datetime()

    Have a look at seconds() (or sys(2)) It returns the seconds since midnight. To have it in hours: ? seconds()/3600 Combining this with date() calculation you can calculate with it. Rob.
  15. rob444

    VFP9 exe file for distribution ... HELP!

    Hi Terry, have a look at thread184-1175815 Rob.
  16. rob444

    index does not match databas file. recreate index

    Depending on what the problem that caused the "not matching": reindex (for this command the key should be ok and the problem is the number of records being indexed) index on fieldname to indexname (this creates a new index, depending on what kind of index (cdx or idx) you want) Rob.
  17. rob444

    Need to decompile and port over to Windows

    Jarit, just be aware that Valkyrie probably will not decompile a clipper app linked with blinker. At least that is still in my memory of using Valkyrie back in the past. Be sure to ask before you buy! Rob.
  18. rob444

    Number of weeks in a month.

    Only 1 month has 4 weeks during non-leap years. February. Every other month has more than 4 weeks but never a full 5 weeks. Just write a program to "catch" the leapyear and give february 5 weeks in that year too. Rob.
  19. rob444

    No Source Code – Need Clipper Decompiler

    Blinker is just the linker, it doesn't really matter where it resides as long as it can find the files it needs to link. Just rename *.SRC to *.prg and run clipper and blinker Rob
  20. rob444

    Foxuser.dbf

    If you used the original setup for vfp9 things should work fine. No need to manually set things such as the foxuser.dbf resource file and/or the config.fpw. I would remove anything you've done, and setup again using the setup that comes with VFP9. Rob.

Part and Inventory Search

Back
Top