Autor Beitrag
Paule90
Hält's aus hier
Beiträge: 4



BeitragVerfasst: Do 03.07.08 17:59 
hi
ich wollte für ein delphi projekt einen eigenen dateientyp erstellen, welcher eine eigene Endung hat. Diese Endung sollte quasi so funktionieren wie ein WindowsDokument (*.doc) oder so...
hat jemand eine idee?
mfg Paule


Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Do 03.07.2008 um 19:10
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Do 03.07.08 18:10 
Moin und :welcome: im Forum!

Schonmal in die Suche geschaut? ;) Suche in: Delphi-Forum, Delphi-Library DATEITYP REGISTRIEREN :idea:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Do 03.07.08 18:12 
Wofür brauchst du das denn? Einfach nur, um einen Text abzuspeichern? Dann wäre das ein grober Missbrauch von Dateiendungen.
Wo genau liegt dein Problem? Dateien bestehen aus bestimmten Datenstrukturen. Du kannst in eine Datei speichern. was du willst, und du kannst eine beliebige Endung verwenden.
Oder willst du, dass beim Doppelklick auf eine Datei sie mit deinem Programm geladen wird? Dann hilft dir Narses Such-Link weiter.

DOC ist übrigens kein "Windows-Dokument", sondern ein Word-Dokument. Hat mit Windows an sich recht wenig zu tun.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell