Jump to content

toufik

Members
  • Content Count

    43
  • Joined

  • Last visited

Community Reputation

0 Neutral

About toufik

  • Birthday 02/02/1988

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. toufik

    calculete time in delphi

    @David Heffernan i end up taking your advice
  2. toufik

    calculete time in delphi

    and its start counting all over next time the user lunch the app and so on ...
  3. toufik

    calculete time in delphi

    I'm using calculate time not any longer then 8 or 7 hour a day witch is the time the user using the application that's it is that fine ?i hope i was clear thank you all @David Heffernan@KenR
  4. toufik

    Encrypting string

    thanks i will give it a try
  5. toufik

    calculete time in delphi

    thank you all for help this worked for me var Year, Month, Day, Hour, Min, Sec, MSec: Word; StartTime: ElapsedTime: TDateTime; EndTime:= Time; ElapsedTime:= EndTime-StartTime; Day:= trunc(ElapsedTime); DecodeTime(ElapsedTime, Hour, Min, Sec, MSec);
  6. toufik

    calculete time in delphi

    @FPiette sorry for i was bit unclear and thanks for taking from your time ;;; this what i was trying to do , i'm almost there i just need to remove that 12 start from 00:00:00 not 12:00:00 any idea ? bandicam_2022-01-01_09-51-18-033.avi
  7. toufik

    calculete time in delphi

    its not my homework LOL i'm very old for that , I'm Delphi Beginner that all and this my code procedure TForm1.Timer1Timer(Sender: TObject); var StartTime: TDateTime; EndTime: TDateTime; ElapsedTime: TDateTime; Year, Month, Day, Hour, Min, Sec, MSec: Word; begin begin StartTime:= Time; {get the process start time} {.......do processing..........} EndTime:= Time; {get the process end time} ElapsedTime:= EndTime-StartTime; {Total elapsed time}b.Caption :=TimeToStr(ElapsedTime) {DecodeTime will return total time down to the milliseconds} DecodeTime(ElapsedTime, Hour, Min, Sec, MSec);
  8. toufik

    calculete time in delphi

    good morning every one ,,, i want to count or Calculating Elapsed time of my running Delphi application ,its start when app start .... in hour and minute and second and days what's the right way to approach i did tried a lot of example no luck yet
  9. toufik

    Encrypting string

    great components ,,not free tho ^^ thanks for reply
  10. toufik

    Encrypting string

    thank you all for help @FPiette you helped a lot thanks again .....
  11. toufik

    Encrypting string

    thanks for replay i will try to get into it thank s again
  12. toufik

    Encrypting string

    i want to encrypt serial number
  13. toufik

    Encrypting string

    what 's the best way to encrypt a string .?, and to it password for example
  14. hello every one ,, i'm trying to extract a string g lets say i have this long string : 2090Lj32J5Y6Ni6Q2Rt8c538u1X227L340Q8N1....ce4A3z6l96S5v7LZ3OhSVoB538k7wPTn13E2w2D0h104fJ7HP09x o7W71J1o02c088922A3t420697F5431XP91C6JF9w1Ss0Tuk5S669207816gp57pW193BPWL27AZ052nr2S714...30 ps : i added the point(....) to show the palaces i want to split the string. i want tto be able to get start from 3 string and put it in variable to use it later 2090Lj32J5Y6Ni6Q2Rt8c538u1X227L340Q8N1 and ....... ce4A3z6l96S5v7LZ3OhSVoB538k7wPTn13E2w2D0h104fJ7HP09x o7W71J1o02c088922A3t420697F5431XP91C6JF9w1Ss0Tuk5S669207816gp57pW193BPWL27AZ052nr2S714v and ...... 30 .. i did tried to play with this ; Registration_number :=(length(str)).ToString; no luck yet .
  15. toufik

    search string word by word in table field

    @Serge_G thanks a lot you help me a lot with this i cant thank you enough ,I will give it a try
×