| |
r.jobyjoseph
Posts: 6
Score: 0
Joined: 5/13/2008
Status: offline
|
My folder contain two files test01.PDF and Test01.ESW Actually I want to read the contents of the file named Test01.ESW. The contents of the file are given below. From this i want to read the value of the field "SHORTDESC" and assign this as the name of the file Test01.pdf(rename this file to the value in "SHORTDES"). Then I want to read the fields Keyname and keytext and assign the value of keytext as one of the properties of the file. how to do this using getprivateprofile string to read this file. also is there any com componenent(i am a totally new to pgming and have no idea on what is com component. could anybody explain this" ) ------------------------------------- [GENERAL] Version=4 SHORTDESC=101 test scan ABLDATE=02.08.2007 ABLDATE2= OBJTYPE=3 KEY=0 ACL= GUID= KIND=0 PATH=0 FLAGS= DOCDATE= DOCDATE2= DOCTYPE=Accounts MASKFLOWID=-1 USER=10 DELDATE=0 SREG= REPLSET=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 [KEY1] KEYNAME=CNBN KEYTEXT=209 KEYKEY=CNBN [KEY2] KEYNAME=CNBKM KEYTEXT=Test scan date KEYKEY=CNBKM [SUBITEMS] 0=0010FDDC 1=0010FDDD 2=0010FDDE 3=0010FDDF 4=0010FDE0 5=0010FDE1 6=0010FDE2 ---------------------------------------------------
|
|