🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #204

Problem with FilePattern

#204
From: asd987
Date: Wed, 25 Aug 2004 12:27
32 lines
2223 bytes
Hi,

Something strage happens using FilePattern. I use the function below to
display the names of pictures in a File Listbox.

Private Sub Text1_Change()
File1.Pattern = Text1.Text & "*.*"
End Sub

When I type 2004 in the textbox to display the picures taken in the year
2004 th efollowing are also diplayed.

20000905-vensterbank.jpg
20001001-fvo2.jpg
20001002-fvo2.jpg
20001002-fvo6.jpg
20001003-fvo2.jpg
20001005-fvo2.jpg
20001006-fvo2.jpg
20001006-fvo6.jpg
20001008-fvo2.jpg
20020813-aapjes.jpg
20031120-fvo2.jpg

Why are these displayed? When there is a picure called 20001002-fvo6.jpg
also the picures 20001002-fvo1.jpg / 20001002-fvo5.jpg exist. Only the
20001002-fvo2.jpg and 20001002-fvo6.jpg are wrongly sisplayed. And what
about 20000905-vensterbank.jpg and 20020813-aapjes.jpg?

Anyone?

Thanks.
Technical Details
Message-ID: <cgi0kh$tam$1@news5.tilbu1.nb.home.nl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.wirehub.nl!newshub3.home.nl!newshub1.home.nl!home.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f645d,e425a1470641a58,start
X-Google-Thread: f5f6f,e425a1470641a58,start
X-Google-Thread: 1143a7,e425a1470641a58,start
X-Google-Thread: 110e3b,e425a1470641a58,start
X-Google-Thread: f51ba,e425a1470641a58,start
X-Google-Thread: 10b997,e425a1470641a58,start
X-Google-Attributes: gidf645d,gidf5f6f,gid1143a7,gid110e3b,gidf51ba,gid10b997,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.wirehub.nl!newshub3.home.nl!newshub1.home.nl!home.nl!not-for-mail
From: "asd987" <asd987@home.nl>
Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,dk.edb.programmering.basic.visual-basic,it.comp.lang.visual-basic
Subject: Problem with FilePattern
Date: Wed, 25 Aug 2004 14:27:56 +0200
Organization: @Home Benelux
Lines: 34
Message-ID: <cgi0kh$tam$1@news5.tilbu1.nb.home.nl>
NNTP-Posting-Host: cc91542-a.hnglo1.ov.home.nl
X-Trace: news5.tilbu1.nb.home.nl 1093436881 30038 212.120.97.202 (25 Aug 2004 12:28:01 GMT)
X-Complaints-To: abuse@home.nl
NNTP-Posting-Date: Wed, 25 Aug 2004 12:28:01 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441