Page 1 of 1

Graphics in qb45

Posted: Tue May 04, 2010 11:16 pm
by petersull
Every time I try run a program using graphics, I get the error message "illegal function call". After clicking help in the error box, the only reason that matches is "An I/O function or statement is performed on a device that does not support it".
Is there a way to do graphics programming in qb45 on a laptop running Windows Vista Home Basic?

Best regards, Peter Sullivan.

Posted: Wed May 05, 2010 8:53 pm
by BurgerBytes
You MUST enter a SCREEN mode from 1 to 2 or 7 to 13!

SCREEN 12 is 640 X 480 pixels with 16 colors (0 to 15)
SCREEN 13 is 320 X 200 pixels with up to 256 colors (0 to 255)

SCREEN 0 is TEXT ONLY. It does not require a screen entry, so that is what you have been trying to use....