How would i change 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;">For x = 0 to lstBuy.listcount - 1</li></ol></div> to make it work in VB.NET because the code i used for VB6 is not compatible. EDIT: I think i figured it out now lol. 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;">For Me.X to lstBuy.Items.Count - 1</li></ol></div> Thanks Alot, Tweedie66.