Depending on the objects you are using, you can, by using the for each statement, such as: for each strLine in objReader.<something>. I forget how I did it; I'll have to try and check my code later (don't have access to MSDN or my code right now) and post back to you later.
|