Article View: free.it.visual-basic
Article #2065Re: Errore in mancanza file...
From: Bf-109E
Date: Mon, 24 Nov 2003 20:36
Date: Mon, 24 Nov 2003 20:36
37 lines
2061 bytes
2061 bytes
"Alex1980" <ba80@jumpyFREGATI.it> ha scritto nel messaggio news:3fc23c40$1@x-privat.org... > 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 Il fatto � che devo caricare un'immagine.... e se non la trova d� il msgbox.... nin zo ze mi spieko... :-D Va bene come hai detto tu? -Davide
Technical Details
Message-ID:
<5Ztwb.2774$AX1.116819@news1.tin.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.mailgate.org!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mailReferences:
<VYKvb.5050$up5.436735@news1.tin.it> <3fc1cd4f@x-privat.org> <fEowb.962$AX1.34053@news1.tin.it> <3fc23c40$1@x-privat.org>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 12:36:18 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.mailgate.org!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail From: "Bf-109E" <chiedi@me.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> <3fc23c40$1@x-privat.org> Subject: Re: Errore in mancanza file... Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <5Ztwb.2774$AX1.116819@news1.tin.it> Date: Mon, 24 Nov 2003 20:36:17 GMT NNTP-Posting-Host: 80.116.203.18 X-Complaints-To: newsmaster@tin.it X-Trace: news1.tin.it 1069706177 80.116.203.18 (Mon, 24 Nov 2003 21:36:17 MET) NNTP-Posting-Date: Mon, 24 Nov 2003 21:36:17 MET Organization: TIN