why do i get that error message with this line of code Code (Text): <div class="text" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">lstLog.Items.Add("SponserArray[" & i & "] := '"& 1stLinks.items.item(i).ToString & "';")</li></ol></div> thanks chelsea1
don't see anything wrong with this... the only thing I can see is you're using a "1" instead of a "L" in 1stLinks.items.item. But if that's really a "1" you need, then I don't see why you're getting this error. anyway, that's the error message I get when I misspell something.
thanks tharoux, that was my problem, they look so similar in vb Edit: why when i use this function does it not save? all it does is open up the normal save thing and then when i click save it does nothing (expect close) Code (Text): <div class="text" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">Private Sub cmdSaveLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSaveLog.Click</li><li style="padding: 0 5px; background-color: #f9f9f9; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"> SaveList(lstLog)</li><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"> End Sub</li></ol></div>