Display messed up on one computer

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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi jackjohnson44,

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

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

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

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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

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.
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.
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 ?

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.
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>
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..


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.