unit about1; {$MODE Delphi} interface uses SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, fileinfo; type { TAboutBox } TAboutBox = class(TForm) Panel1: TPanel; ProductName: TLabel; Version: TLabel; Copyright: TLabel; Comments: TLabel; OKButton: TButton; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var AboutBox: TAboutBox; implementation {$R *.lfm} { TAboutBox } procedure TAboutBox.FormCreate(Sender: TObject); var FileVerInfo: TFileVersionInfo; begin FileVerInfo := TFileVersionInfo.Create(nil); try FileVerInfo.ReadFileInfo; Version.Caption := 'Version ' + FileVerInfo.VersionStrings.Values['FileVersion']; finally FileVerInfo.Free; end; end; end.