PDA

View Full Version : Visual Basic 6 and XP


Ray
February 2nd 04, 09:41 PM
I have a VB6 program that I have been running on Windows
95, 98, 2000 and NT. When I loaded and ran it on XP, the
JPG picture I use as a background in the main window does
not fill the window. The window was sized to the JPG and
the JPG fills the window on all previous versions of
Windows.

The size of the JPG is important since I have invisible
objects over the picture that you can click on. The
objects are where they belong but the JPG is too small and
is sitting in the upper left corner of the window.

Is this a configuration problem in XP or does XP not
support VB6?

Sharon F
February 2nd 04, 10:21 PM
On Mon, 2 Feb 2004 12:29:08 -0800, Ray wrote:

> I have a VB6 program that I have been running on Windows
> 95, 98, 2000 and NT. When I loaded and ran it on XP, the
> JPG picture I use as a background in the main window does
> not fill the window. The window was sized to the JPG and
> the JPG fills the window on all previous versions of
> Windows.
>
> The size of the JPG is important since I have invisible
> objects over the picture that you can click on. The
> objects are where they belong but the JPG is too small and
> is sitting in the upper left corner of the window.
>
> Is this a configuration problem in XP or does XP not
> support VB6?

Default display settings in 98 were 800x600. Probably the same or less in
the other versions that you mentioned. In XP, if the hardware is capable,
it will shoot for a 1024x768 screen size. Perhaps the dimensions of the
program's .JPG needs to be adjusted for that difference?
--
Sharon F
MS MVP - Windows XP Shell/User

Google