PDA

View Full Version : VB .net program



twilight
23rd June 2014, 12:13
Hi

I want a Vb . net console program with no interface to read a cmp file for a system and write out all records for a certain issue date month.Suppose we take a existing cmp file i need all records with issue dates as January in a new cmp file.we have to repeat for each month of the year and final output i need is 12 files with each months data.

the format of a an existing cmpfile is as below

01 2760M HAP 11001 19960117050SD38722 11MSA0000000198
01 2760M HAP 11001 19960117050SD38722 7015081

Yellow is the issue date in YYYYMMDD format
Green is teh policy number


please help me with this

twilight
23rd June 2014, 14:40
Hi Can anyone help me with this ?????????????????

twilight
25th June 2014, 12:46
Hi

I want a Vb . net console program with no interface to read a cmp file for a system and write out all records for a certain issue date month.Suppose we take a existing cmp file i need all records with issue dates as January in a new cmp file.we have to repeat for each month of the year and final output i need is 12 files with each months data.

the format of a an existing cmpfile is as below

01 2760M HAP 11001 19960117050SD38722 11MSA0000000198
01 2760M HAP 11001 19960117050SD38722 7015081

Yellow is the issue date in YYYYMMDD format
Red is teh policy number


please help me with this

markclemens
27th June 2014, 07:42
Hi twilight,

I'm not sure if this forum is the best place for getting assistance with this specific request, as it is not necessarily zenon related.

Best regards,
Mark

martins
27th June 2014, 09:02
hi,

Something like this should do the trick:
http://stackoverflow.com/questions/15030827/how-to-get-the-whole-line-of-text-that-contain-a-string

best regards,
Martin