Exporter le contenu de checkbox en VB.NET
Résolu
Bonjour,
Je veux exporter le contenu de mon checkbox dans une fichier texte (.txt) et ceci en utilisant VB.NET
bon j'ai écris ce code là mais ça pas marcher :((((
Dim x As Integer
'Dim interm() As String
TextBox5.Text = TextBox3.Text
' For x = 0 To CheckedListBox1.Items.Count - 1
' interm = CheckedListBox1.Items.Item(x).Cast(Of String)()
'File.WriteAllLines("C:\majdi texte nom propre\monText.txt", CheckedListBox1.Items.Item(x))
'Next x
svp est ce que quelqu'un connais un code pour faire ça???????
merci d'avance
Je veux exporter le contenu de mon checkbox dans une fichier texte (.txt) et ceci en utilisant VB.NET
bon j'ai écris ce code là mais ça pas marcher :((((
Dim x As Integer
'Dim interm() As String
TextBox5.Text = TextBox3.Text
' For x = 0 To CheckedListBox1.Items.Count - 1
' interm = CheckedListBox1.Items.Item(x).Cast(Of String)()
'File.WriteAllLines("C:\majdi texte nom propre\monText.txt", CheckedListBox1.Items.Item(x))
'Next x
svp est ce que quelqu'un connais un code pour faire ça???????
merci d'avance
Configuration: Windows Vista Internet Explorer 7.0