Visual Basic .txt files?

I should get a option that any time clicked opens up some sort of specified.txt archive and displays the number of lines, the largest value along with the smallest cost.Please help

Dim vertisements As String()
Poor count, minutes, max When Integer

ersus = Archive.ReadAllLines(“Your File Name.txt”)
be counted = vertisements.Count
minutes = vertisements.Min(Function(x) CInt(x))
utmost = vertisements.Max(Function(x) CInt(x))

Now just showcase count, minutes and greatest extent.

…and what to get coded so far Post it and we will help you get them working.

Leave a Reply