Re: dialog form size different in IDE or exe
- From: bmurphy@xxxxxxxxxxx
- Date: 1 Dec 2006 09:45:34 -0800
Thank you, Rick, for the reply.
The "correct" size of the form is not very big. Envision a VB msbox
call with a one or two sentence string. When run in the IDE the form
displays exactly the same size that it has been sized to display in the
form editor.
But when compiled and run as an EXE the form stretches precisely the
full height of the display from the very top edge down to the top of
the windows xp task bar at the bottom of the display. Even does this
when the laptop is connected to an external monitor.
Unless it's a bug with the video driver on the laptop, I was hoping it
was just some obscure property setting of the form.
I'm going to try it out on some other computers this afternoon to see
what happens.
Brian
Rick Rothstein (MVP - VB) wrote:
My VB6 app displays a very ordinary form that looks a lot like a
msgbox. It looks fine when run in the IDE. But when compiled to an
EXE, the form is enlarged to the full height of the display, and is
also much wider although not the full width of the dispaly. I'm not
doing any resizing in code.
This behavior is happening on an HP laptop with a 17 inch display. But
on an HP desktop computer with 21 inch display it's fine in both the
IDE and EXE.
What could be causing this?
Probably you are using computer with a pixel resolution setting that is
higher than that being used on the laptop computer. If this is the case, you
probably sized your form to "look right" on your monitor; this would mean
that the number of pixels wide and high for the form forces it to occupy
more screen real estate on the laptop.
Rick
.
- Follow-Ups:
- Re: dialog form size different in IDE or exe
- From: bmurphy
- Re: dialog form size different in IDE or exe
- References:
- dialog form size different in IDE or exe
- From: bmurphy
- Re: dialog form size different in IDE or exe
- From: Rick Rothstein \(MVP - VB\)
- dialog form size different in IDE or exe
- Prev by Date: Re: What is the best way to create "Graphical Buttons" in VB6?
- Next by Date: Re: Log
- Previous by thread: Re: dialog form size different in IDE or exe
- Next by thread: Re: dialog form size different in IDE or exe
- Index(es):