Autor Beitrag
NilsHH
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Sa 20.08.05 14:11 
ausblenden Delphi-Quelltext
1:
MessageDlg(LoadFromFile('info.txt'), mtInformation,[mbOk], 0);					


Am geilsten wäre halt wenns so geht, geht aber nicht !?!

Greetz
starsurfer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: Sa 20.08.05 14:17 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure TForm1.Button1Click(Sender: TObject);
var sl:tstringlist;
begin
sl:=tstringlist.Create;
sl.LoadFromFile('c:\text.txt');
messagedlg(sl.text,mtInformation,[mbOk], 0);
sl.free;
end;


versuchs so

_________________
GEIZ IST GEIL! - Ihr Sozialamt
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 20.08.05 14:25 
:welcome:!!!!! Problem ist ja jetzt gelöst, gell? War grade auch am schreiben :D

_________________
Programmers never die, they just GOSUB without RETURN
NilsHH Threadstarter
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Sa 20.08.05 15:12 
Hiho !

Vielen Dank ;)