🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: RICHAIMARE L'ULTIMO RECORD CREATO

#892
From: Umberto
Date: Tue, 15 Feb 2005 13:39
35 lines
2474 bytes
Anzich� usare 1 -2 -3 n... prova a usare now nel senso ex. :
dim nomef as string
nomef=prova & now & ".gif"
cos� il nome del file sar� sempre univoco e ordinandoli per nome dovresti
anch� sapere l'ultimo o il primo scansionato. ciauz ;)
"maria@@@" <marix@libe.it> ha scritto nel messaggio
news:VqpOd.858260$35.32815184@news4.tin.it...
> ciao ragazzi, scusate ma ho proprio bisogno di un vostro aiuto,
> da premettere che sono alle prime armi ma mi sto veramente appassionando
> ALLORA....
> sto creando un'applicazione che mi fa la scansione di file tramite
scanner,
> mi genera il pdf e  mi archivia automaticamente i file in un database con
il
> nome "PROVA 1, PROVA2, PROVA3....."
> Per il contatore (prova1,2,3,4..) ho dichiarato una variabile n as long ,
le
> ho assegnato un valore 0  ecc. .....................E MI FUNZIONA!
>
> IL PROBLEMA � questo: quando finisco di fare le scansioni i file si
salvano
> autom in una cartella col nome " prova1,2,3,....". ma una volta che chiudo
> l'applicaz e poi la riapro x fare nuove scansioni i nuovi file si
> sovrappongono agli altri (cancellandoli) sempre col nome "prova " ma
invece
> di partire dall'ultimo creato riparte da 0
>
> non so se mi sono spiegata bene ,ma quello che vi chiedo � :     come fare
x
> richiamare l'ultimo record creato e far ripartire l'intera routine da
> questo???????????
>
> GRAZIEEEEEEEEEEEEEEE 1000
>
>
Technical Details
Message-ID: <oYmQd.897023$35.33890510@news4.tin.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail
References: <VqpOd.858260$35.32815184@news4.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,7d942750ef42e040
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail
From: "Umberto" <salvatore.capriglione@libero.it>
Newsgroups: free.it.visual-basic
References: <VqpOd.858260$35.32815184@news4.tin.it>
Subject: Re: RICHAIMARE L'ULTIMO RECORD CREATO
Lines: 37
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: <oYmQd.897023$35.33890510@news4.tin.it>
Date: Tue, 15 Feb 2005 13:39:32 GMT
NNTP-Posting-Host: 82.57.135.145
X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it"
X-Trace: news4.tin.it 1108474772 82.57.135.145 (Tue, 15 Feb 2005 14:39:32 MET)
NNTP-Posting-Date: Tue, 15 Feb 2005 14:39:32 MET
Organization: TIN