Writing a program that searches the text file and displays the names that are repeated..visual basic.net..stumped just need help with the next step Public Class frmDuplicateNames Private Sub btnDetermine_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDetermine.Click Dim array() As String = IO.File.ReadAllLines("Names2.txt") Dim intCount = 0 Dim nameCheck As String For Each line In array For intCount = 1 To 45 Step 1 nameCheck = array(intCount) If nameCheck = name
I'm rather out of date with VB.net... but I'm confused why you don't just use perl or something else equally simple to do this job. You're kinda cracking a nut with a sledgehammer using VB.net to do this, imo.
Join our real-time social learning platform and learn together with your friends!