View Single Post
  #13 (permalink)  
Old 12-24-2010, 06:29 PM
Antti J Ylikoski
Guest
 
Posts: n/a
Default Re: Screen print of graphics?

24.12.2010 1:26, news@rtrussell.co.uk kirjoitti:
> On Dec 23, 3:30 am, Antti J Ylikoski<antti.yliko...@elisanet.fi>
> wrote:
>> Are there any Windows XP wizards here who could help?

>
> As far as I can tell, pressing Shift+PrtSc, as you suggest, does *not*
> copy QBASIC full-screen (e.g. SCREEN 1) graphics to the clipboard. I
> ran a QBASIC program which generates SCREEN 1 graphics, pressed Shift-
> PrtSc and examined the contents of the clipboard. All it contained
> were the following formats:
>
> CF_TEXT (1)
> CF_OEMTEXT (7)
> CF_UNICODETEXT (13)
> CF_LOCALE (16)
>
> So I don't understand how you were ever able to get SCREEN 1 graphics
> into the clipboard. Have you some non-standard utility installed
> which does that?
>
> Richard.


The secret is that I was somewhat imprecise while writing my entry.

I have always, with all programs I ever have used, been able to send the
screen buffer to the Clipboard with the Shift+PrtSc. I don't know what
the QBASIC is doing so that the abovementioned operation is impossible.
I said "I tried this" without explaining to which event or operation
the pronoun "this" was referring to.

I have a 64-bit Windows 7 .... the original QBASIC works on a 16-bit
MS-DOS, and this processor does not any more emulate the 16-bit Intel
processors.... An attempt to start QBASIC with such a 64-bit processor
gives an uncompatibility error.

I have been using the 64-bit continuation project, the QB64.EXE, see
http://www.qb64.net .

As far as I can tell it indeed is quite compatible with the old QBASIC.
Has RND(1) and MID$, the typical causes of error.... I have not yet
attempted the SCREEN 1 plus PrtSc into the Clipboard with the QB64.EXE,
but one of us might want to do so.


kind regards, Antti J Ylikoski
Helsinki, Finland, the E.U.


Reply With Quote