home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 July
/
Chip_2000-07_cd.bin
/
sharewar
/
visds
/
visds.exe
/
Verinfo.dsc
< prev
next >
Wrap
Text File
|
2000-05-05
|
2KB
|
55 lines
REM ****************************************************
REM verinfo.dsc v. 3.5
REM use of @VERINFO
REM (c) 1995 - 2000 S.A.D.E.
title Version Information
DIALOG CREATE,Version Information,-1,0,312,232
DIALOG ADD,EDIT,filename,10,10,260,19
DIALOG ADD,BUTTON,browse,10,280,24,20,...
DIALOG ADD,STATUS,status,Click the button to choose a file
DIALOG ADD,TEXT,TEXT1,40,10,,,Size:
DIALOG ADD,TEXT,size,40,60,80,18
DIALOG ADD,TEXT,TEXT3,56,10,,,Date:
DIALOG ADD,TEXT,datetime,56,60,240
DIALOG ADD,TEXT,TEXT4,72,10,,,Version:
DIALOG ADD,TEXT,version,72,60,200
DIALOG ADD,TEXT,TEXT5,88,10,,,Name:
DIALOG ADD,TEXT,name,88,60,240
DIALOG ADD,TEXT,TEXT6,104,10,,,Company:
DIALOG ADD,TEXT,company,104,60,240
DIALOG ADD,TEXT,TEXT7,120,10,,,Product:
DIALOG ADD,TEXT,product,120,60,240
DIALOG ADD,TEXT,TEXT8,136,10,,,Version:
DIALOG ADD,TEXT,prodver,136,60,240
DIALOG ADD,TEXT,TEXT9,152,10,,,Copyright:
DIALOG ADD,TEXT,copr,152,60,240
DIALOG ADD,TEXT,TEXT10,168,10,,,Desc:
DIALOG ADD,TEXT,desc,168,60,240,40
DIALOG SHOW
:evloop
wait event
goto @event()
:browseBUTTON
%F = @filedlg("EXE files|*.exe|DLL files|*.dll",Choose file,@windir()\*.exe)
if @not(@ok())
goto evloop
end
dialog set,filename,%F
parse "name;company;product;version;desc;prodver;copr",|||||||||
parse "%S;%T",@file(@dlgtext(filename),ZT)
dialog set,size,%S bytes
dialog set,datetime,@datetime(dd mmm yy t,%T)
%Z = @verinfo(@dlgtext(filename),TNCPVDXY)
parse "%T;name;company;product;version;desc;prodver;copr",%Z
dialog clear,status
if @equal(%T,NE)
dialog set,status,16-bit Windows executable file
end
if @equal(%T,PE)
dialog set,status,32-bit Windows executable file
end
goto evloop
:CLOSE
exit