Hello,
I'm far from being proficient in VB, but am trying to learn it for the sake of future productivity. In the meantime, I have a project that requires me to create an application that can:
1) Scan a text file for specific words
2) record other text based on the location of the previously mentioned text (i.e. find the word "alarm" in one line of a text file, then record the text in the line below)
3) Format the text & save it in a text file
4) Email said document to multiple users.
In the interest of not being overwhelmed, I'm trying to focus on one aspect at a time, which leads to my questions: what is the best way to scan a text file for multiple values, put them in an array & store them for later use?
I'm thinking I create a loop that searches for a particular string, records that & related values as part of a multi dimensional array & then dump the output to a textfile later.
New (obviously) to the forums so I apologize if my request was unclear, vague, incoherent or violated any social norms that I am unaware of. If you require any information to understand my request for assistance, or if I simply am overstepping my boundaries with my request feel free to say so. Thanks
I'm far from being proficient in VB, but am trying to learn it for the sake of future productivity. In the meantime, I have a project that requires me to create an application that can:
1) Scan a text file for specific words
2) record other text based on the location of the previously mentioned text (i.e. find the word "alarm" in one line of a text file, then record the text in the line below)
3) Format the text & save it in a text file
4) Email said document to multiple users.
In the interest of not being overwhelmed, I'm trying to focus on one aspect at a time, which leads to my questions: what is the best way to scan a text file for multiple values, put them in an array & store them for later use?
I'm thinking I create a loop that searches for a particular string, records that & related values as part of a multi dimensional array & then dump the output to a textfile later.
New (obviously) to the forums so I apologize if my request was unclear, vague, incoherent or violated any social norms that I am unaware of. If you require any information to understand my request for assistance, or if I simply am overstepping my boundaries with my request feel free to say so. Thanks