🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Printer

#44
From: Arie van Eerden
Date: Sun, 17 Jun 2001 07:17
99 lines
4348 bytes
--------------AACF68A3DE9982BD6AD62C18
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

picture1.autoredraw = true
clipboard.clear
Clipboard.SetData picture1.Image

This should work!

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



--
The Protovision Pages:

Search-Engines: http://protovision.mypage.org
Visual-Basic: http://www.homepages.hetnet.nl/~osmo/vb.html
Java-Script: http://www.homepages.hetnet.nl/~slaatje/index.html


--------------AACF68A3DE9982BD6AD62C18
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
picture1.autoredraw = true
<BR>clipboard.clear
<BR>Clipboard.SetData picture1.<FONT COLOR="#FF0000">Image</FONT><FONT COLOR="#FF0000"></FONT>

<P><FONT COLOR="#FF0000">This should work!</FONT>

<P>rroach@pronetix.com wrote:
<BLOCKQUOTE TYPE=CITE>On Sat, 16 Jun 2001 13:08:20 GMT, jerry@iss.u-net.com
(J French)
<BR>wrote:

<P>>If you have set&nbsp; Picture1.Autoredraw = True
<BR>>then it will work
<BR>>
<BR>....snip....

<P>And then what?&nbsp; I had already set the autoredraw to true in the
<BR>properties of the picturebox.&nbsp; But, on your suggestion, I also
put it
<BR>into the coding.&nbsp; The code now reads:

<P>picture1.autoredraw = true
<BR>clipboard.clear
<BR>Clipboard.SetData picture1

<P>I get an error because I did not supply an object (or something).&nbsp;
So
<BR>what is this object I am supposed to supply?&nbsp; The only thing in
the
<BR>picturebox are the lines I have drawn and wish to place in another
<BR>application.&nbsp; Is there some way to declare the contents of the
<BR>picturebox to be an object?

<P>tia,
<BR>Bob</BLOCKQUOTE>
&nbsp;

<P>--
<BR>The Protovision Pages:

<P>Search-Engines: <A HREF="http://protovision.mypage.org">http://protovision.mypage.org</A>
<BR>Visual-Basic: <A HREF="http://www.homepages.hetnet.nl/~osmo/vb.html">http://www.homepages.hetnet.nl/~osmo/vb.html</A>
<BR>Java-Script: <A HREF="http://www.homepages.hetnet.nl/~slaatje/index.html">http://www.homepages.hetnet.nl/~slaatje/index.html</A>
<BR>&nbsp;</HTML>

--------------AACF68A3DE9982BD6AD62C18--
Technical Details
Message-ID: <3B2C596F.48513461@HetNet.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!195.25.12.36.MISMATCH!oleane.net!oleane!newsfeeds.belnet.be!news.belnet.be!news2.kpn.net!news.kpn.net!master.news.hetnet.nl!news1.hetnet.nl
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: 1023e1,2bcd7b2b3c7d54a9
X-Google-Attributes: gid1023e1,public
X-Google-Thread: f645d,2bcd7b2b3c7d54a9
X-Google-Attributes: gidf645d,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 00:19:35 PST
Message-ID: <3B2C596F.48513461@HetNet.nl>
Date: Sun, 17 Jun 2001 09:17:03 +0200
From: Arie van Eerden <Protovision-op-@HetNet.nl>
Organization: Protovision Holland
X-Mailer: Mozilla 4.04 [en] (Win95; U)
MIME-Version: 1.0
Subject: Re: Printer
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>
Content-Type: multipart/alternative; boundary="------------AACF68A3DE9982BD6AD62C18"
Newsgroups: alt.comp.lang.visualbasic.ver3,comp.lang.basic.visual,comp.lang.visual.basic,cz.comp.lang.basic.visual
NNTP-Posting-Host: ipd54b1ba3.free.wxs.nl 213.75.27.163
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!195.25.12.36.MISMATCH!oleane.net!oleane!newsfeeds.belnet.be!news.belnet.be!news2.kpn.net!news.kpn.net!master.news.hetnet.nl!news1.hetnet.nl
Lines: 74