🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: avvertire un utente mentre sta salvando un file esistente

#2276
From: Tiscali
Date: Sun, 29 Jun 2003 11:02
29 lines
1771 bytes
Io uso sempre questo commando, ma senza $, e non mi d� mai errore.
Non � che per caso stai utilizzando una variabile con nome Dir?
Se cos� fosse, cambia nome alla variabile.

if Dir(app.path + "\" + nomefile) <> "" then
end if

Ciao Federico

         \ | /
       (@ @)
--o00-(_)-00o---

http://bcp.3000.it

"Mirx" <mirx74@yahoo.com> ha scritto nel messaggio
news:tiGIa.108269$lK4.3040358@twister1.libero.it...
> > if Dir$(nome_file_con_path) <> "" then ' il file gia esistente sei
sicuro
> di
>
> prova a verificare anche il NULL oppure fai un controllo sulla lunghezza
>
> If Len(Dir$....
>
> ci�
> Mirx
>
>
Technical Details
Message-ID: <bdmgio$l7p$1@lacerta.tiscalinet.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!news.stealth.net news.stealth.net!news.stealth.net!news.mailgate.org!draco.tiscalinet.it!not-for-mail
References: <k2lIa.208884$g92.4295435@news2.tin.it> <tiGIa.108269$lK4.3040358@twister1.libero.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,e4f1e41b8dfb4fbe
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-06-29 03:55:43 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!news.stealth.net news.stealth.net!news.stealth.net!news.mailgate.org!draco.tiscalinet.it!not-for-mail
From: "Tiscali" <bychicco@tiscali.it>
Newsgroups: free.it.visual-basic
Subject: Re: avvertire un utente mentre sta salvando un file esistente
Date: Sun, 29 Jun 2003 13:02:09 +0200
Organization: Tiscali Spa
Lines: 31
Message-ID: <bdmgio$l7p$1@lacerta.tiscalinet.it>
References: <k2lIa.208884$g92.4295435@news2.tin.it> <tiGIa.108269$lK4.3040358@twister1.libero.it>
NNTP-Posting-Host: ppp-62-11-62-86.dialup.tiscali.it
X-Trace: lacerta.tiscalinet.it 1056884120 21753 62.11.62.86 (29 Jun 2003 10:55:20 GMT)
X-Complaints-To: abuse@tiscali.it
NNTP-Posting-Date: 29 Jun 2003 10:55:20 GMT
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