Autor Beitrag
Jagg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Sa 27.09.03 16:32 
Hallo Leute !

Ich habe im ein Programm geschrieben das im Internet bestimmte Wörter sucht !
Wie realisiere ich den Ablauf ein einer Progrssbar ???

Jagg !
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Sa 27.09.03 16:39 
Hi,
Wenn du uns sagen könntest wo dein Programm die Wörter und mit was (Komponente, Code-Schnipsel?) es sucht, dann könnten wir dir eventuell weiterhelfen. Aber eins vorweg: falls du mit Suchmaschinen (o.ä.) suchst dürfte eine Progressbar unmöglich sein, da du ja nicht weißt wieviel es zum Durchsuchen gibt.

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Sa 27.09.03 16:52 
Mein Programm durchsucht den Quelltext von HTML-Seiten nach E-Mail Adressen !
Ich benutze die Komponente NHTTP um ins Internet zu gelangen !
Zum Suchen benutze ich die Funktion Pos() !
Code :
ausblenden Quelltext
1:
Suchstring := pos('Martin@yahoo.de',Memo1.Text)					

....aber das ist ja nicht ausschlaggiebig,da jede Mail Adresse anders ist !Wie kann man das jetzt machen ?
Gibt es nicht in der Komponente NHTTP nicht eine Ereignis wie "Packetsent,BytesSent,BytesTotal" ???...wie in NMSMTP !
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Sa 27.09.03 17:02 
Zitat:
Gibt es nicht in der Komponente NHTTP nicht eine Ereignis wie "Packetsent,BytesSent,BytesTotal" ???...wie in NMSMTP !
Kein Ereignis aber die Properties gibt´s, hättest du auch mit der Codevervollständigung rausgefunden (oder durch probieren).
ausblenden Quelltext
1:
2:
3:
BytesTotal
BytesSent
BytesRecvd

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)