• Welcome to PlanetSquires Forums.
 

Windows7 odd results

Started by Petrus Vorster, January 17, 2023, 03:17:50 AM

Previous topic - Next topic

Petrus Vorster

Good Day Everyone

Windows7 is giving me real weird results compared to Win10.
I made a little project that uses PANELS & Anchoring extensively.

It works perfectly on windows10, but the same project messes up the anchoring in Windows7 completely.
Forms does not resize correctly (TOP and LEFT anchor is fine, but it seems HEIGHT and WIDTH remains the same as design time and not in run time.

The problem is the Company only has vintage computers, some still on XP. I have to get it working on Windows7.

I have tried the normal CHILDFORM anchor (the check boxes) and tried to Set the form using SETBOUNDS, and on Windows7 the very same project that works on Windows10 gives the same odd results.

Any ideas would be great.

Regards,

Peter
-Regards
Peter

Petrus Vorster

Ok, this gets weirder by the minute, but I have some solution.

If i use the same project files and compile on Windows7, then i get all this weird anchoring and resizing issues.
If I compile at home on Windows10 and bring the EXE back to work, then it runs perfectly on Windows7.

I suppose then its work from home then....
Then there is no need to dig into the Win7 issues if the exe runs fine.

Regards,

Peter
-Regards
Peter

Bumblebee

Are you using the default xml manifest?
Failed pollinator.

Petrus Vorster

Hi

Yes, everything default as I downloaded it from Github.

Regards,

Peter
-Regards
Peter

Bumblebee

You could try deleting this section from the xml, and see if that resolves the issue under Windows 7.

      <dependency>
         <dependentAssembly>
            <assemblyIdentity
               type="win32"
               name="Microsoft.Windows.Common-Controls"
               version="6.0.0.0"
               processorArchitecture="*"
               publicKeyToken="6595b64144ccf1df"
               language="*" />
         </dependentAssembly>
      </dependency>

This was a long time ago, when I had Win 7 on my old laptop. Deleting that section resolved some visual issues on the finished application.
Failed pollinator.

Petrus Vorster

Thanks Mate

I figured a way out eventually.
A few things I tried on Windows 7 worked, but I have absolutely no idea why. ;D

Thank you for trying.

Regards, Peter
-Regards
Peter