Autor Beitrag
Millo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 147



BeitragVerfasst: So 11.08.02 12:32 
Moin

Ich hab mal ne frage !?!! Ich möchte das man mit einem Programm eine .html oder .htm Datei öffnet und die im Programm in einem Richedit als QuellText angezeigt wird.
cbs
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 207
Erhaltene Danke: 1



BeitragVerfasst: So 11.08.02 13:09 
Tag auch

meinst du das

ausblenden Quelltext
1:
RichEdit1.Lines.LoadFromFile('C:\HTMLDatei.html');					


???

oder mit OpenDialog

ausblenden Quelltext
1:
2:
3:
if OpenDialog1.Execute then begin
  RichEdit1.Lines.LoadFromFile(OpenDialog1.FileName);
end;
Millo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 147



BeitragVerfasst: So 11.08.02 13:10 
Titel: Oh
THX

Hätte ich auch mal ausprobieren können.
Palmetshofer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 44



BeitragVerfasst: So 11.08.02 13:19 
Hab ein OpenSource Programm für dich geschrieben!!!
Grundprinzip:
ausblenden Quelltext
1:
Richedit1.Lines.LoadFromFile(Opendialog1.Filename);					


Download:
Mirror 1
Mirror 2 (empfohlen)

_________________
Menschen stolpern nicht über Berge, sondern über Maulwurfshügel.
Konfuzius