Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.visual-basic > #19067
| X-Received | by 10.176.71.226 with SMTP id w34mr14163340uac.0.1498057781142; Wed, 21 Jun 2017 08:09:41 -0700 (PDT) |
|---|---|
| X-Received | by 10.157.15.209 with SMTP id m17mr551921otd.6.1498057781098; Wed, 21 Jun 2017 08:09:41 -0700 (PDT) |
| Path | csiph.com!feeder.erje.net!2.us.feeder.erje.net!weretis.net!feeder6.news.weretis.net!news.glorb.com!x58no174141qtc.0!news-out.google.com!s132ni836itb.0!nntp.google.com!f20no323914itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | it.comp.lang.visual-basic |
| Date | Wed, 21 Jun 2017 08:09:40 -0700 (PDT) |
| In-Reply-To | <45cdeed6-8d63-4465-a79d-8cfa9e8343e0@googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=87.9.122.157; posting-account=eitZdgoAAAC6C9CXmyhLNaQM3MgI3eZM |
| NNTP-Posting-Host | 87.9.122.157 |
| References | <45cdeed6-8d63-4465-a79d-8cfa9e8343e0@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <9cbe72b2-0327-4e9c-8426-690ee4b31f65@googlegroups.com> (permalink) |
| Subject | Re: Ricerca files in una cartella |
| From | Luca D <antaniserse@yahoo.it> |
| Injection-Date | Wed, 21 Jun 2017 15:09:41 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com it.comp.lang.visual-basic:19067 |
Show key headers only | View raw
I metodi che trovi a partire da 'My.xxx' sono spesso scorciatoie a funzioni più complete del framework .NET, e vale quasi sempre la pena fare riferimento direttamente a quelle; in questo caso le classi che trovi in 'System.IO' hanno quello che serve:
Dim di As New System.IO.DirectoryInfo("C:\MiaCartella\")
If di.Exists Then
Dim fi() As System.IO.FileInfo = di.GetFiles("*Verde*.jpg")
If fi.Length > 0 Then
frmAlert.Show()
Else
End If
End If
Back to it.comp.lang.visual-basic | Previous | Next — Previous in thread | Next in thread | Find similar
Ricerca files in una cartella Marco75 <marcoporzi75@gmail.com> - 2017-06-21 07:51 -0700
Re: Ricerca files in una cartella Luca D <antaniserse@yahoo.it> - 2017-06-21 08:09 -0700
Re: Ricerca files in una cartella Marco75 <marcoporzi75@gmail.com> - 2017-06-22 00:07 -0700
Re: Ricerca files in una cartella Marco75 <marcoporzi75@gmail.com> - 2017-06-22 01:27 -0700
Re: Ricerca files in una cartella Luca D <antaniserse@yahoo.it> - 2017-06-22 01:53 -0700
Re: Ricerca files in una cartella Marco75 <marcoporzi75@gmail.com> - 2017-06-22 02:06 -0700
Re: Ricerca files in una cartella Luca D <antaniserse@yahoo.it> - 2017-06-22 07:05 -0700
Re: Ricerca files in una cartella Marco75 <marcoporzi75@gmail.com> - 2017-06-22 07:14 -0700
Re:Ricerca files in una cartella Paperino <non_te@lo.dico.invalid> - 2017-06-21 18:12 +0200
csiph-web