🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: be.comp.programming
1 messages
1 total messages Started by Muse Mon, 01 Dec 2003 21:11
[VB.NET] Listbox vullen met file's zonder Path???
#3548
Author: Muse
Date: Mon, 01 Dec 2003 21:11
17 lines
1423 bytes
Hallo allemaal,


Ik heb een listbox waarin ik de inhoud van een dir wil weergeven. Maar nu
word standaard ook het Path weergegeven. Hoe kan ik dit voorkomen?

Source:
        Dim sFiles() As String
        Dim i As Integer
        sFiles = System.IO.Directory.GetFiles("d:\", *.doc)

        For i = 0 To UBound(sFiles)
            ListBox1.Items.Add(sFiles(i))
        Next

Mvg,
Robert van de Vijver.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads