• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

Display messed up on one computer

Hello,
I have a visual basic program that when installed on one computer looks horrible.
Most of the frames, buttons, and elements are all in the wrong positions.
It looks like the original layout was distorted.

This only happens on one computer, it is running xp pro with service pack 2.
I have tried it on other computers with xp pro and service pack 2, and it looks fine.


What could be causing this?
0
jackjohnson44
Asked:
jackjohnson44
1 Solution
 
KaiNikulainenCommented:
Hi jackjohnson44,

Perhaps the computer with problems is using large fonts, that sometimes causes problems.

Kaitsu
0
 
jackjohnson44Author Commented:
what I meant was how do I resolve this?

I tried it on a similar computer and there were no problems.
0
 
vinnyd79Commented:
Is it a resolution issue? There is a good KB article here on creating resolution independent forms:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;182070 
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jackjohnson44Author Commented:
One thing that I forgot to mention, it that nothing is resizable.  It is a fixed size form.

0
 
Ryan ChongCommented:
>>Most of the frames, buttons, and elements are all in the wrong positions.
Perhaps you can describe to us when it's working fine, and when it's getting wrong? in what conditions.. ? Difference resolution, etc ?

If the form is Not resizable, and you when try allow all (most) resolution can view the form, you can try to make the form as small as possible (640 x 480), indeed, sometimes it's good to change your resolution on your development machine to the smaller scale resolution as possible (640 x 480), so that to ensure your clients can view the whole form in whatever resolution so.
0
 
jackjohnson44Author Commented:
the form is made for 640*480.  It is very small and centered in the middle of the screen.  The computer with the problem has a resolution of 1024*768.  Any other computer, with any resolution works fine.  There is plenty of room all around the form.  Nothing is getting squeezed, but the elements are not in the right places.  Every other program running on this computer seems to be working normally.

for instance if a button is supposed to be

top 90
left 100

it is looking more like
top 400
left 250

It does not appear that each messed up element has the same offset, and some elements are in the correct place.
0
 
Ryan ChongCommented:
Did you write any codes to set position of buttons ? Is it only 1 form got such problem or all forms got display problem under 1024 x 768 resolution ?

Btw, will it be possible if take a snapshot and show us here ?

regards
0
 
jackjohnson44Author Commented:
all of the positions in question are set when I created the app in the parameters on the side.  Nothing in question is set at run time, or programmatically.  I will post some pics soon.
0
 
jackjohnson44Author Commented:
Here are a few pics to illustrate my point.

<a href="http://www.quadtech.com/captivate/screen1_good.gif">Screen 1 Good</a><BR>
<a href="http://www.quadtech.com/captivate/screen1_bad.gif">Screen 1 Bad</a><BR>
<a href="http://www.quadtech.com/captivate/screen2_good.gif">Screen 2 Good</a><BR>
<a href="http://www.quadtech.com/captivate/screen2_bad.gif">Screen 2 Bad</a><BR>
<a href="http://www.quadtech.com/captivate/screen3_good.gif">Screen 3 Good</a><BR>
<a href="http://www.quadtech.com/captivate/screen3_bad.gif">Screen 3 Bad</a><BR>
0
 
Ryan ChongCommented:
As reviewing the above, i suspect it's cause by the different Theme on different machines, that's possible that causing the above problem.

Can you make sure 2 machines Theme are the same? else i got no clue why they are different.. hmm..

regards
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now