🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #1584

Re: Trova file

#1584
From: M.M.
Date: Mon, 12 Apr 2004 12:17
26 lines
1548 bytes
'in modulo

Public Declare Function PathFileExists Lib "shlwapi.dll" Alias
"PathFileExistsA" (ByVal pszPath As String) As Long

Public Function FILE_EXISTS(str_Path As String) As Boolean

    If PathFileExists(str_Path) = 0 Then Exit Function
    FILE_EXISTS = True

End Function


"Armix" <armandochiacchio@team-service.it> ha scritto nel messaggio
news:QS8bc.20363$jY1.17627@tornado.fastwebnet.it...
> Come faccio a controllare se un file esiste in una determinata cartella ?
>
> If esiste il file = true then
> codice
> end if
>
>
> Grazie
>
>
>
Technical Details
Message-ID: <fNvec.123845$FJ6.4699494@twister1.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!x-privat.org!inn1.libero.it!twister1.libero.it.POSTED!not-for-mail
References: <QS8bc.20363$jY1.17627@tornado.fastwebnet.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94ee,c4db8934b794175a
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2004-04-12 05:17:16 PST
From: "M.M." <master74@libero.it>
Newsgroups: free.it.visual-basic
References: <QS8bc.20363$jY1.17627@tornado.fastwebnet.it>
Subject: Re: Trova file
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <fNvec.123845$FJ6.4699494@twister1.libero.it>
Date: Mon, 12 Apr 2004 12:17:15 GMT
NNTP-Posting-Host: 151.25.175.74
X-Complaints-To: abuse@libero.it
X-Trace: twister1.libero.it 1081772235 151.25.175.74 (Mon, 12 Apr 2004 14:17:15 MET DST)
NNTP-Posting-Date: Mon, 12 Apr 2004 14:17:15 MET DST
Organization: [Infostrada]
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!x-privat.org!inn1.libero.it!twister1.libero.it.POSTED!not-for-mail