🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

problema stampa

#2362
From: sara
Date: Mon, 09 Jun 2003 16:20
25 lines
1797 bytes
Scusate ma qualcuno saprebbe dirmi perche non riesco a stampare il contenuto
di una listbox con il seguente codice?
se clicco su stampa mi rimane l'icona della stampante sulla barra degli
strumenti nello stato "accodamento documenti", quindi chiudo il mio
programma e il processo di stampa si annulla automaticamente. (sono proprio
una frana!!)



Dim i As Integer, inizio As Integer
Dim fine As Integer, numcopie As Integer
On Error GoTo gestoreErrori

CommonDialog1.ShowPrinter

inizio = CommonDialog1.FromPage
fine = CommonDialog1.ToPage
numcopie = CommonDialog1.Copies
Printer.Print List1.List(i)
For i = 1 To numcopie

Next
Exit Sub
gestoreErrori:
Exit Sub
Technical Details
Message-ID: <rt2Fa.73904$Ny5.2239492@twister2.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!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!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII-7-bit
X-Google-Thread: f94ee,ba205f721688524f,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-06-09 09:20:41 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!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!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "sara" <sara83@hotmail.com>
Newsgroups: free.it.visual-basic
Subject: problema stampa
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
Message-ID: <rt2Fa.73904$Ny5.2239492@twister2.libero.it>
Date: Mon, 09 Jun 2003 16:20:39 GMT
NNTP-Posting-Host: 62.98.196.161
X-Complaints-To: abuse@inwind.it
X-Trace: twister2.libero.it 1055175639 62.98.196.161 (Mon, 09 Jun 2003 18:20:39 MET DST)
NNTP-Posting-Date: Mon, 09 Jun 2003 18:20:39 MET DST
Organization: [Infostrada]