Ask your own question, for FREE!
Computer Science 20 Online
OpenStudy (anonymous):

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

OpenStudy (agreene):

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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!