🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.visualbasic.ver3
Article #45

Re: Printer

#45
From: J French
Date: Sun, 17 Jun 2001 10:59
37 lines
2606 bytes
This works:

Private Sub Command1_Click()
    ' REM  Picture1.Picture = LoadPicture("c:\windows\setup.bmp")
    Picture1.AutoRedraw = True
    Picture1.Print "Hello World"
    Clipboard.Clear
    Clipboard.SetData Picture1.Image
End Sub


On Sun, 17 Jun 2001 05:43:20 GMT, rroach@pronetix.com wrote:

>On Sat, 16 Jun 2001 13:08:20 GMT, jerry@iss.u-net.com (J French)
>wrote:
>
>>If you have set  Picture1.Autoredraw = True  
>>then it will work
>>
>....snip....
>
>And then what?  I had already set the autoredraw to true in the
>properties of the picturebox.  But, on your suggestion, I also put it
>into the coding.  The code now reads:
>
>picture1.autoredraw = true
>clipboard.clear
>Clipboard.SetData picture1
>
>I get an error because I did not supply an object (or something).  So
>what is this object I am supposed to supply?  The only thing in the
>picturebox are the lines I have drawn and wish to place in another
>application.  Is there some way to declare the contents of the
>picturebox to be an object?
>
>tia,
>Bob
Technical Details
Message-ID: <3b2c7543.516507@news.u-net.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!195.64.68.27!newsgate.cistron.nl!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!newsr2.u-net.net!not-for-mail
References: <zGpT6.5343$NK6.467364@news20.bellglobal.com> <3b1e8c70$0$56546$45beb828@newscene.com> <3b232479.9376622@news.cis.dfn.de> <d%GU6.863$jl3.167807@news.xtra.co.nz> <3b24609e.90309227@news.cis.dfn.de> <3b2b4bea.13181612@news.u-net.com> <3b2c428d.2102903@news.cis.dfn.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f645d,2bcd7b2b3c7d54a9
X-Google-Attributes: gidf645d,public
X-Google-Thread: 1023e1,2bcd7b2b3c7d54a9
X-Google-Attributes: gid1023e1,public
X-Google-Thread: fb992,2bcd7b2b3c7d54a9
X-Google-Attributes: gidfb992,public
X-Google-Thread: 108062,2bcd7b2b3c7d54a9
X-Google-Attributes: gid108062,public
X-Google-ArrivalTime: 2001-06-17 03:52:26 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!195.64.68.27!newsgate.cistron.nl!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!newsr2.u-net.net!not-for-mail
From: jerry@iss.u-net.com (J French)
Newsgroups: alt.comp.lang.visualbasic.ver3,comp.lang.basic.visual,comp.lang.visual.basic,cz.comp.lang.basic.visual
Subject: Re: Printer
Reply-To: jerry@iss.u-net.com
Message-ID: <3b2c7543.516507@news.u-net.com>
References: <zGpT6.5343$NK6.467364@news20.bellglobal.com> <3b1e8c70$0$56546$45beb828@newscene.com> <3b232479.9376622@news.cis.dfn.de> <d%GU6.863$jl3.167807@news.xtra.co.nz> <3b24609e.90309227@news.cis.dfn.de> <3b2b4bea.13181612@news.u-net.com> <3b2c428d.2102903@news.cis.dfn.de>
X-Newsreader: Forte Free Agent 1.1/32.230
Lines: 38
Date: Sun, 17 Jun 2001 10:59:47 GMT
NNTP-Posting-Host: 195.102.197.86
X-Trace: newsr2.u-net.net 992775031 195.102.197.86 (Sun, 17 Jun 2001 11:50:31 BST)
NNTP-Posting-Date: Sun, 17 Jun 2001 11:50:31 BST
Organization: (Posted via) VIA Net.Works UK Ltd.
X-Received-Date: Sun, 17 Jun 2001 11:50:31 BST (newsr2.u-net.net)