whats new ¦  programming tips ¦  indy articles ¦  intraweb articles ¦  informations ¦  links ¦  interviews
 misc ¦  tutorials ¦  Add&Win Game

Tips (1541)

Database (90)
Files (137)
Forms (107)
Graphic (114)
IDE (21)
Indy (5)
Internet / LAN (130)
IntraWeb (0)
Math (76)
Misc (126)
Multimedia (45)
Objects/
ActiveX (51)

OpenTools API (3)
Printing (35)
Strings (83)
System (266)
VCL (242)

Top15

Tips sort by
component


Search Tip

Add new Tip

Add&Win Game

Advertising

22 Visitors Online


 
...convert a .dfm file to text and vise versa?
Autor: Gstatter, Erhard
[ Print tip ]  


Tip Rating (21):  
     


Since Delphi 5, DFM-Files are stored as text files.
Unfortunately, D2-D4 can only read DFM-Files in a binary-format.
Delphi provides a conversion utility (convert.exe) to
convert between .txt and .dfm formats.

Seit D5 werden die DFM-Dateien als Textdateien gespeichert.
Um diese mit D2-D4 bearbeiten zu können,
müssen sie in eine binäre Form gewandelt werden.
Um dies zu erreichen, ist im BIN-Verzeichnis von Delphi ein kleines
Programm namens "Convert.exe" vorhanden.


// Sample calls, Verwendung:

// Converting from *.DFM to *.TXT
Convert.exe FormMain.dfm FormMain.txt

// Converting from *.TXT to *.DFM
Convert.exe FormMain.txt FormMain.dfm


 

Rate this tip:

poor
very good


Copyright © by SwissDelphiCenter.ch
All trademarks are the sole property of their respective owners