Hi friends,
I am quite new to vb6.0 and not very familiar with the Vb filesystem object.
I would be very helpful if you can help me in my problem.
i have a txt file which contains some data which is arranged in certian order.
for example
000710010003 TMSNW7191300719 160001
000710010005 ADITY7081600708 160001
000710010005 ALPTL7195500719 550001
000710010005 ALPTL7195700719 570001
000710010005 ALPTL7195900719 590001
000710010005 ENAD 720220072022000 1
000710010005 ENAD 720250072025000 1
000710010005 ENAD 722520072252000 1
000710010005 ENAD 722560072257000 1
000710010005 ENAD 723050072305000 1
000710010005 ENAD 723080072308000 1
000710010005 ENAD 723090072309000 1
000710010005 ENAD 723150072316000 1
000710010005 ETCPU7071800707 180001
000710010005 GEMI 707360070741000 1
Now I want to copy only the first 12 numbers ie 007 1001 0005 into a new notepad and also the numbers should not repeat itself in new notepad and also the total count of data(ie 12 digits numbers present in the old notepad).should be given. I am using filsystemobjecy in vb6.0
it would also be very useful if you can tell me how if i want to replace the letters ENAD WITH GEMI ,how could i do this through notepad.
Pls help me guys,its urgent,
I am quite new to vb6.0 and not very familiar with the Vb filesystem object.
I would be very helpful if you can help me in my problem.
i have a txt file which contains some data which is arranged in certian order.
for example
000710010003 TMSNW7191300719 160001
000710010005 ADITY7081600708 160001
000710010005 ALPTL7195500719 550001
000710010005 ALPTL7195700719 570001
000710010005 ALPTL7195900719 590001
000710010005 ENAD 720220072022000 1
000710010005 ENAD 720250072025000 1
000710010005 ENAD 722520072252000 1
000710010005 ENAD 722560072257000 1
000710010005 ENAD 723050072305000 1
000710010005 ENAD 723080072308000 1
000710010005 ENAD 723090072309000 1
000710010005 ENAD 723150072316000 1
000710010005 ETCPU7071800707 180001
000710010005 GEMI 707360070741000 1
Now I want to copy only the first 12 numbers ie 007 1001 0005 into a new notepad and also the numbers should not repeat itself in new notepad and also the total count of data(ie 12 digits numbers present in the old notepad).should be given. I am using filsystemobjecy in vb6.0
it would also be very useful if you can tell me how if i want to replace the letters ENAD WITH GEMI ,how could i do this through notepad.
Pls help me guys,its urgent,
Comment