Re: dialog form size different in IDE or exe

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

.



Relevant Pages

  • Re: dialog form size different in IDE or exe
    ... It looks fine when run in the IDE. ... This behavior is happening on an HP laptop with a 17 inch display. ... IDE and EXE. ...
    (microsoft.public.vb.general.discussion)
  • Re: Thinking About Laptop Computers (yet) Again
    ... a week or so) to buy a new laptop computer. ... have to drive the display, as is the case with the 855GM and 955GM chipsets. ... Total bag weight is 12 lbs, ... Asus will sell a 90WH battery direct to ...
    (rec.audio.pro)
  • Re: [SLE] Laptop choice - REPORT
    ... So, you now know which is the best notebook, for running Linux. ... > Of course you can avoid the whole ACPI mess if you can find a laptop with a working Linux APM implementation. ... > Display Card ...
    (SuSE)
  • Re: dual monitor problem
    ... Are you sure the laptop is capable of doing the "Extended Desktop". ... e.g. display what's on primary display also. ... have a problem with the projector output when using it as a secondary ...
    (microsoft.public.windowsxp.hardware)
  • Re: Mac Mini vs. laptop on the cart
    ... difficulty and inconvenience of the laptop form factor when trying to ... How to use your PowerBook G4 or MacBook Pro with the display closed ...
    (rec.arts.movies.production.sound)