Jump to content

Code not updating


Recommended Posts

Hi, i have this code..

Do
strLine2 = objStreamReader2.ReadLine()
If Not strLine2 Is Nothing Then


If My.Settings.WGAT = 1 Then
lstASearch.Items.Add(strLine2.Substring(0, 16))
lstADownloads.Items.Add(strLine2.Substring(19))
Else
If strLine2.Substring(23, 1) = "-" Then
lstASearch.Items.Add(strLine2.Substring(0, 16))
lstADownloads.Items.Add(strLine2.Substring(19))
End If
End If
End If
Loop Until strLine2 Is Nothing

I've changed the values in the substrings to...

Do
strLine2 = objStreamReader2.ReadLine()
If Not strLine2 Is Nothing Then


If My.Settings.WGAT = 1 Then
lstASearch.Items.Add(strLine2.Substring(0, 22))
lstADownloads.Items.Add(strLine2.Substring(25))
Else
If strLine2.Substring(23, 1) = "-" Then
lstASearch.Items.Add(strLine2.Substring(0, 22))
lstADownloads.Items.Add(strLine2.Substring(25))
End If
End If
End If
Loop Until strLine2 Is Nothing

but when i build/test it still seems to be running the original no matter what i do... if i delete that part of the code entirely it still does the code as if it was still there! Anyone got any ideas?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...