Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a Favoriter [SOLVED]
#16
Alright, So I was totally mixed up with that previous coding. Sorry!
Code:
Dim writer As New System.IO.StreamWriter(My.Application.Info.DirectoryPath + "/settings.ini")
        Dim i As Integer = 0
        Do Until i = ListBox1.Items.Count
            ListBox1.SelectedIndex = i
            If i < ListBox1.Items.Count Then
                writer.Write(ListBox1.SelectedItem + vbNewLine)
            Else
                writer.Write(ListBox1.SelectedItem)
            End If
            i = i + 1
        Loop
        writer.Close()
        writer.Dispose()
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Creating a Favoriter [SOLVED] - by yjy1110 - 01-19-2011, 05:37 AM
Re: Creating a Favoriter - by yjy1110 - 01-19-2011, 04:15 PM
Re: Creating a Favoriter - by yjy1110 - 01-20-2011, 02:10 AM
Re: Creating a Favoriter - by yjy1110 - 01-20-2011, 03:22 PM
TROUBLESHOOTING!!!!!! - by yjy1110 - 01-21-2011, 05:15 PM
Re: TROUBLESHOOTING!!! - by yjy1110 - 01-22-2011, 04:02 PM
Re: Creating a Favoriter - by yjy1110 - 01-22-2011, 08:34 PM
Re: Creating a Favoriter - by brandonio21_phpbb3_import2 - 01-22-2011, 09:17 PM
Re: Creating a Favoriter - by yjy1110 - 01-23-2011, 03:23 AM
Re: Creating a Favoriter - by xolara - 01-23-2011, 03:48 AM
Re: Creating a Favoriter - by yjy1110 - 01-23-2011, 04:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] MySQL Update Query - What am I doing wrong? kismetgerald 11 40,135 10-18-2012, 07:16 PM
Last Post: brandonio21
  Help with creating an INSERT statement using MySQL kismetgerald 4 15,882 08-30-2012, 03:03 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)