Article View: free.it.visual-basic
Article #2371R: avvertire un utente che sta salvando un file gia esistente
From: Alessio
Date: Tue, 10 Jun 2003 17:31
Date: Tue, 10 Jun 2003 17:31
29 lines
2200 bytes
2200 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 > > o provato ma non funziona
Technical Details
Message-ID:
<ABoFa.70335$pR3.1485144@news1.tin.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!news.mailgate.org!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 10:31:14 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!news.mailgate.org!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: 31 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: <ABoFa.70335$pR3.1485144@news1.tin.it> Date: Tue, 10 Jun 2003 17:31:12 GMT NNTP-Posting-Host: 80.104.167.142 X-Complaints-To: newsmaster@tin.it X-Trace: news1.tin.it 1055266272 80.104.167.142 (Tue, 10 Jun 2003 19:31:12 MET DST) NNTP-Posting-Date: Tue, 10 Jun 2003 19:31:12 MET DST Organization: TIN