Autor Beitrag
xxlolxx
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 48

win xp home
Delphi 7 personal
BeitragVerfasst: Mo 26.02.07 19:29 
Hallo erstmal

Ich möchte den text eines memos speichern und das die datei dann ein icon bekommt aber hab keinen plan wie ich das mit dem icon hin bekommen soll.
Bääääär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117



BeitragVerfasst: Mo 26.02.07 19:31 
das icon wird von Windows vergeben, je nachdem, welches Programm die Datei öffnen soll. Also wenn die abgespeicherte Datei nicht grade 'ne EXE ist (was unmöglich ist) dann geht das nicht.
xxlolxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 48

win xp home
Delphi 7 personal
BeitragVerfasst: Mo 26.02.07 19:35 
OK danke bääääääär
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mo 26.02.07 19:43 
Wobei du dein Programm mit dem Dateitypen (sprich, der Dateiendung) assoziieren kannst (über die Registry) und dadurch würden alle Dateien dieses Typs dein Programmsymbol als Symbol bekommen. Kann auch sein, dass das Icon seperat in der Registry gespeichert wird, das weiß ich grad nicht, aber du kannst ja mal damit rumspielen. (Bedenke aber die Auswirkungen, die eine solche Änderung der Registry auf das System hat, und denk daran, dass kein Benutzer begeistert ist, wenn dein Programm ungefragt Änderungen an der Registry durchführt ;) )

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.