🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Errore in mancanza file...

#2064
From: Alex1980
Date: Mon, 24 Nov 2003 17:12
30 lines
1788 bytes
Un attimo prima di skippare tutto mi sono accorto che  Bf-109E ha scritto:

>> Cosa intendi per "uscita improvvisa"?
> Intendo dire che se non trova il file, esce in maniera anormale dal
> programma...
> Capito che intendo? Mi scuso se sono stato poco chiaro! :-)
Penso di s� :-)!

Beh utilizza il comando dir(nomefile) se ti restituisce "" � perch� non lo
trova.

ESEMPIO:

nomefile="c:\pippo.txt"

If Dir(nomefile) <> "" Then
        'elaborazioni varie
else
    msgbox "Il file " & nomefile & " non �stato trovato..."
End If

-- 
Alex

"La differenza tra un genio ed un idiota � che il genio ha i suoi
limiti" (Anonimo)



Posted from X-Privat Free NNTP server - www.x-privat.org
Technical Details
Message-ID: <3fc23c40$1@x-privat.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!news-out.tin.it!news-in.tin.it!x-privat.org!not-for-mail
References: <VYKvb.5050$up5.436735@news1.tin.it> <3fc1cd4f@x-privat.org> <fEowb.962$AX1.34053@news1.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,46c044ba7dfb0922
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-11-24 09:12:39 PST
From: "Alex1980" <ba80@jumpyFREGATI.it>
Newsgroups: free.it.visual-basic
References: <VYKvb.5050$up5.436735@news1.tin.it> <3fc1cd4f@x-privat.org> <fEowb.962$AX1.34053@news1.tin.it>
Subject: Re: Errore in mancanza file...
Date: Mon, 24 Nov 2003 18:12:42 +0100
Lines: 28
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
NNTP-Posting-Host: host190-18.pool8018.interbusiness.it
Message-ID: <3fc23c40$1@x-privat.org>
X-Trace: x-privat.org 1069694016 80.18.18.190 (24 Nov 2003 18:13:36 +0100)
Organization: X-Privat News Server - www.x-privat.org
X-Complaints-To: abuse@x-privat.org
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!news-out.tin.it!news-in.tin.it!x-privat.org!not-for-mail