Article View: free.it.visual-basic
Article #2373R: avvertire un utente che sta salvando un file gia esistente
From: Alessio
Date: Tue, 10 Jun 2003 21:24
Date: Tue, 10 Jun 2003 21:24
28 lines
2168 bytes
2168 bytes
Genesio Conti <genesio.conti@virgilio.it> wrote in message TY2Fa.64566$pR3.1385021@news1.tin.it... > > "Alessio" <@ .it> ha scritto nel messaggio > news:hbOEa.99319$g92.2366727@news2.tin.it... > > o creato un programma compatibile con diversi formato di testo nella quale > > devo inserire una modalita di avvertimento che l'utente finale sta per > > salvare su un file esistente e inserire un messaggio personalizato ( non > di > > Windows ) Ad esempio > > il file Pinco.doc esiste gia sei sicuro di riscriverlo?. > > o il seguente codice ( dove devo inserire questo tipo di modalita > > grazie in anticipo per l'aiuto > > > > PS: chiedo scusa se non avete capito questo messaggio > > Se utilizzi CommonDialog, prima del metodo CommonDialog1.ShowSave, imposta > il flag > cdlOFNOverwritePrompt, e ti verrοΏ½ mostrato il msg " Il file esiste, ecc." > > altrimenti prima di salvare il file : > if Dir$(nome_file_con_path) <> "" then ' il file esiste che facciamo ? > ... > end if > >
Technical Details
Message-ID:
<p0sFa.71699$pR3.1514149@news1.tin.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mailReferences:
<hbOEa.99319$g92.2366727@news2.tin.it> <TY2Fa.64566$pR3.1385021@news1.tin.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,ff90c2e0f5ee5253 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2003-06-10 14:24:38 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail From: "Alessio" <@ .it> Newsgroups: free.it.visual-basic References: <hbOEa.99319$g92.2366727@news2.tin.it> <TY2Fa.64566$pR3.1385021@news1.tin.it> Subject: R: avvertire un utente che sta salvando un file gia esistente Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: <p0sFa.71699$pR3.1514149@news1.tin.it> Date: Tue, 10 Jun 2003 21:24:37 GMT NNTP-Posting-Host: 80.104.167.151 X-Complaints-To: newsmaster@tin.it X-Trace: news1.tin.it 1055280277 80.104.167.151 (Tue, 10 Jun 2003 23:24:37 MET DST) NNTP-Posting-Date: Tue, 10 Jun 2003 23:24:37 MET DST Organization: TIN