Legolash2o Posted August 18, 2008 Share Posted August 18, 2008 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 NothingI'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 Nothingbut 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now