I am working on one requirement that need to create a interface file, I am coding in the VB. I am not a familiar with the VB and need help.
The interface file - We need the auto generated sequence number for the file. ( EX: 00000001.txt) Can we do it in the VB. every time the service generate a new sequence number that not used in previous.
For Example : I have the interface files like 00000001 - 00000012 then next it should crate with 00000013 and so...
if the service is restarted then the counter should not be zero. it should be continue with the same sequence number ( Do we need to use the database for store this (Or) is there any way that we can save the last sequence number in the memory)
Please suggest me on this requnirment.