Windows look/style/appearance in Visual Studio VB

  • Thread starter Thread starter BvU
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around issues related to the appearance and styling of windows in Visual Studio 2022 on Windows 10. Participants are exploring potential causes and solutions for unexpected visual discrepancies in window styles.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about the appearance of windows in Visual Studio 2022, seeking suggestions for resolution.
  • Another participant suggests checking the form border style settings, proposing that different settings may yield different appearances.
  • A participant responds that only the "None" setting alters the appearance, indicating that other settings do not resolve the issue.
  • Further discussion reveals that MDI child windows appear as expected, while the parent window does not, suggesting a specific issue with the parent window's styling.
  • One participant contemplates reinstalling Visual Studio but expresses concern about potentially worsening the situation.
  • Another participant notes attempts to troubleshoot by copying essential files to another PC and installing .NET 8.0, but the problem persists, leading to speculation that the issue may not be file-related.
  • Attempts to use .NET 7 also did not resolve the visual discrepancies, leaving participants puzzled about the underlying cause.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the cause of the visual issues, and multiple competing views regarding potential solutions and troubleshooting steps remain unresolved.

Contextual Notes

Limitations include uncertainty about the specific configurations causing the visual discrepancies, as well as the dependency on various settings and file states that have not been conclusively linked to the problem.

BvU
Science Advisor
Homework Helper
Messages
16,219
Reaction score
4,933
Embarrassed having to ask: My windows in VS 2022 (on W10) look like

Form1a.webp


when I would like them to look like

Form1.webp


and I can't *&*&* find what caused it and how to get back

Any suggestions where to look ?

##\ ##
 
Technology news on Phys.org
You have the form border style set to single. Try other settings.
1755001694017.webp
 
Thanks for replying. But it's not that easy:

1755010385008.webp

Only one that gives a different picture is "None" (which does what it should do).

##\ ##
 
BvU said:
Only one that gives a different picture is "None" (which does what it should do).
Huh. Well, I'm out of ideas, other than perhaps re-installing VS.
 
  • Informative
Likes   Reactions: BvU
Hesitating to do that -- afraid of making things worse -- but probably the only way out.

Funny to see that MDI child windows look as expected, but the parent window doesn't:

1755069771675.webp


formborderstyle of normal windows do follow Sizable/Fixed expectations; only the looks are wrong.

Oh, well...

[edit] No reason to be so pessimistic: download and install over 200 GB in half an hour. But the problem remains as it was... :frown:

[more edit] copy the .exe, .dll, .pdb, deps.json and runtimeconfig.json to another PC and install runtime .Net 8.0 there: still problem !

SO you think the problem sits inside one of those five files.
However: running a .exe from an old project that used to look OK also has the problem.
Makes you think the problem does NOT sit inside one of those five files.

Tried .NET 7 but no difference.

Flabberghasting ! Where to look now ?


##\ ##
 
Last edited:

Similar threads

  • · Replies 0 ·
Replies
0
Views
2K
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 16 ·
Replies
16
Views
5K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 13 ·
Replies
13
Views
6K