Einzelnen Beitrag anzeigen

stifflersmom

Registriert seit: 8. Dez 2005
Ort: 24994 Holt
375 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#7

Re: Word Zugriff per Ole -- zunehmend langsamer

  Alt 25. Apr 2007, 08:13
Hmmm, finde ich nicht wirklich performanter
Delphi-Quellcode:
    // Alle Wörter durchgehen
    MyWords := WordDocument.Words;
    For LinesCount := 1 To MyWords.Count Do
     Begin
     ProgressBar1.Position := LinesCount;
     V:=MyWords.Item(LinesCount).Text;
     V:= trim(V);
     If Length(V) > 1 Then
     Zl.Add(V);
  Mit Zitat antworten Zitat