Jump to content

toufik

Members
  • Content Count

    75
  • Joined

  • Last visited

Everything posted by toufik

  1. toufik

    save probelm in ini file vcl with tlistbox

    worked great, with some tweaks i replaced ,procedure with function and handle in line 7 with HWND_DESKTOP for some reason i did get an error with it (([dcc32 Error] Unit1.pas(192): E2003 Undeclared identifier: 'Handle')) thank you and everyone else who tried to help by the way big fan of your work here and in every other platform,, great job,, take care everyone and have a nice day or a night ....
  2. toufik

    save probelm in ini file vcl with tlistbox

    Myinifile := TIniFile.Create('tabibi.ini'); (then the restore code ) to restore from the ini file ,??
  3. toufik

    save probelm in ini file vcl with tlistbox

    yes the ini file created and index in it just fine in the restore i did not use the ini file at all i think thats problem
  4. toufik

    save probelm in ini file vcl with tlistbox

    well i dont thinks i'm ,,, can you point me in the right direction please
  5. toufik

    save probelm in ini file vcl with tlistbox

    i really know the fix is in front of my eyes for some reason i'm stuck for two days with this !!
  6. toufik

    save probelm in ini file vcl with tlistbox

    i about two days now trying to fix this and yes i did try with ReadInteger and WriteInteger the problem persist
  7. toufik

    save probelm in ini file vcl with tlistbox

    yeah i did change it s not the problem its not restoring the save index
  8. 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 .
  9. 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
  10. hello,I'm nob , and i did tried today NetCom7 and i would like to saywhat an amazing project very fast , believe me i know because we have very low connection speed where i live ,any way ,i would like to ask you if any one can give us more demos or example about for example chat communication between two selected clientslets say client one , select client two to chat with , how do you implement that .thank you all and have a Delphi daylink:https://github.com/DelphiBuilder/NetCom7
  11. toufik

    calculete time in delphi

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

    calculete time in delphi

    and its start counting all over next time the user lunch the app and so on ...
  13. 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
  14. toufik

    Encrypting string

    what 's the best way to encrypt a string .?, and to it password for example
  15. toufik

    Encrypting string

    thanks i will give it a try
  16. 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);
  17. 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
  18. 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);
  19. toufik

    Encrypting string

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

    Encrypting string

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

    Encrypting string

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

    Encrypting string

    i want to encrypt serial number
  23. hello every one how you all doing ,,,i'm looking for advanced search method wait what ?!!!! ^^^ so i need to search a long text word by word and move to the next one in onther long text in a table field and come back with a result of any match ,,, is that all .....no ,,, we want to highlight that word ,,,easy right and move to the next one i found a paid composant called Rubicon the picture show more detail about it please take a look thanks
  24. 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
  25. toufik

    search string word by word in table field

    Hello every one , and thank you all for taking a time to try to understand what i have asked ,,,, this is a video show exactly what i need and sorry for not replying sooner ,, i have a bit problem in my windows i lost all files and did have try to fix ,, all fine now . @Serge_G yes I'm working with SQLite db and firedac like i said before this video show what i need to do ,, its paid Component called Rubicon. part1(split-video.com).mp4
×