Hi,
I'm not a real programmer, nor do I portray one on TV, however I am occasionally called upon to create small utilities. I'm trying to work with VB2008 and the options available are mind boggling. The more I delve into it the more confused I become. I could use some MAJOR hand-holding.
What I need to do is search a text file line by line for certain letters and the numbers following those letters and see if the numbers match. If not, pause the search and throw up an error showing the mismatch.
Example line of text:
A200B11C20.5D11E10F30
So I need to see if the numeric values for B, D and E all match. In this case, B=11 and D=11 but E=10 and does not match.
Just to make it more interesting, these values may be spread over multiple lines of the text. So B might be on line 6 and D and E on line 10.
But wait! Thats not all. Further into the text file, B=12 and D and E need to match that.
I hope you find this less confusing than I do and can give me some meaningful suggesions if not outright code (preferred) to solve my problem.
I'm not a real programmer, nor do I portray one on TV, however I am occasionally called upon to create small utilities. I'm trying to work with VB2008 and the options available are mind boggling. The more I delve into it the more confused I become. I could use some MAJOR hand-holding.
What I need to do is search a text file line by line for certain letters and the numbers following those letters and see if the numbers match. If not, pause the search and throw up an error showing the mismatch.
Example line of text:
A200B11C20.5D11E10F30
So I need to see if the numeric values for B, D and E all match. In this case, B=11 and D=11 but E=10 and does not match.
Just to make it more interesting, these values may be spread over multiple lines of the text. So B might be on line 6 and D and E on line 10.
But wait! Thats not all. Further into the text file, B=12 and D and E need to match that.
I hope you find this less confusing than I do and can give me some meaningful suggesions if not outright code (preferred) to solve my problem.