🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #3548

[VB.NET] Listbox vullen met file's zonder Path???

#3548
From: 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.
Technical Details
Message-ID: <3fcbae68$0$41753$5fc3050@dreader2.news.tiscali.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.ip.tiscali.net!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,a0673d72800dda82,start
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-12-01 13:11:42 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.ip.tiscali.net!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail
From: "Muse" <vandevijver@no_spam@quicknet.nl>
Newsgroups: be.comp.programming
Subject: [VB.NET] Listbox vullen met file's zonder Path???
Date: Mon, 1 Dec 2003 22:11:40 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1165
Lines: 19
Message-ID: <3fcbae68$0$41753$5fc3050@dreader2.news.tiscali.nl>
Organization: Tiscali bv
NNTP-Posting-Date: 01 Dec 2003 22:11:04 CET
NNTP-Posting-Host: 82.168.35.139
X-Trace: 1070313064 dreader2.news.tiscali.nl 41753 82.168.35.139:12530
X-Complaints-To: abuse@tiscali.nl