Delphi:
ListBox1.Items.SaveToFile('C:\listbox.txt');
ListBox1.Items.SaveToFile('C:\listbox.txt');
"The shell stopped unexpectedly and Explorer.exe was restarted."
Begin eens met in welke taal.
Afhankelijk daarvan kun je direct de inhoud naar file saven, of moet je even alle items doorloopen en stuk voor stuk wegschrijven...
Afhankelijk daarvan kun je direct de inhoud naar file saven, of moet je even alle items doorloopen en stuk voor stuk wegschrijven...
Exact expert nodig?
VB:
Dim Listz As Long
On Error Resume Next
Open "list.txt" For Output As #1
For Listz& = 0 To List1.ListCount - 1
Print #1, List1.List(Listz&)
Next Listz&
Close #1
Dim Listz As Long
On Error Resume Next
Open "list.txt" For Output As #1
For Listz& = 0 To List1.ListCount - 1
Print #1, List1.List(Listz&)
Next Listz&
Close #1
van-tilburg.info -=- meka (sega emulator) - Proud MEDION fanclub member - KOPPIG VOLHOUDEN !
Pagina: 1