PowerPack10 rectangles not displaying properly
-
lunedì 16 luglio 2012 23:08
My company just installed windows 7 on the machine that I had my program running on. I thought no problem I'll just reinstall the program. First I installed the visual basics powerpack 10 redistribution file then ran my installer. The program comes up and works however the rectangles are not where they are supposed to be, they come up upper right on my form. What can be causing this? Am I still missing something in the install? At first I thought it was a graphics card issue so I installed an ATI (same as on my laptop where the program installs and runs fine) but that didn't work. I must be missing something and I can't figure it out. Any help would be appreciated.
rmc
RMCABC
Tutte le risposte
-
mercoledì 18 luglio 2012 03:19Moderatore
Hi RMCABC,
Welcome to the MSDN forum.
Generally, the position of control will not be changed with different PC. It seems that you have set the position of rectangles by hard code. When you move to another PC with different sizes of screen, resolutions and themes or other things, some exceptional issue occurs.
So my suggestion is changing code about setting the position. Try to use some layout and relative position to solve your this issue.
Hope this helps.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us
- Contrassegnato come risposta RMCABC mercoledì 18 luglio 2012 08:07
-
mercoledì 18 luglio 2012 08:18
Thanks Mark, I have run into the theme issue before and that was easily solved. In this case it turned out to be that the computer in question had a corrupt hard drive, corrupt to the point that after the initial image was put on it all of the updates that were pushed to it never made it and it was basically stuck in an update mode. Any new software added to the machine never made it to the registry so it never knew that it was there. For a while I thought I was going nuts! I'm glad I poked around in the registry!
rmc
RMCABC

