Hi,
I'm trying to parse the text file, which is of size more than 2mb. I'm
using the following sample code
Open "c:\sim1.tx t" For Input As #1
Do While Not EOF(1)
Input #1, Data
If (InStr(Data, "Summary")) Then
str = str & Data
End If
Loop
Close #1
str is a string.
the text file consists of more than 20000 lines. i need to read the
values from each of these 20000 lines and apply some business rules.
based upon the conditions that meet the business rules, i need to
classify the sim1.txt file into 4 different files. the problem i'm
facing is, it is taking lot of time to run this program. the above
code that is shown is without business rules, as this program itself
is taking lot of time. the same program that i have done in java is
taking very less time. can anybody suggest or give me ideas or
alternative solution to solve this problem.
Thanking you,
Regards,
Ratnakar Pedagani.
I'm trying to parse the text file, which is of size more than 2mb. I'm
using the following sample code
Open "c:\sim1.tx t" For Input As #1
Do While Not EOF(1)
Input #1, Data
If (InStr(Data, "Summary")) Then
str = str & Data
End If
Loop
Close #1
str is a string.
the text file consists of more than 20000 lines. i need to read the
values from each of these 20000 lines and apply some business rules.
based upon the conditions that meet the business rules, i need to
classify the sim1.txt file into 4 different files. the problem i'm
facing is, it is taking lot of time to run this program. the above
code that is shown is without business rules, as this program itself
is taking lot of time. the same program that i have done in java is
taking very less time. can anybody suggest or give me ideas or
alternative solution to solve this problem.
Thanking you,
Regards,
Ratnakar Pedagani.
Comment