タイトル : Re^6: VB2005 リストボックスの保存 投稿日 : 2010/02/06(Sat) 00:08 投稿者 : sb
現在はこうなってます Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click With SaveFileDialog1 If .ShowDialog = Windows.Forms.DialogResult.OK Then Dim txt_date As New System.IO.StreamWriter(.FileName, False, System.Text.Encoding.Default) For Each item As Object In ListBox1.Items txt_date.WriteLine(item) Next End If End With End Sub もしかしたらリストボックス2から1に内容を送る時にミスでもしているのですかね。 |