Windows look/style/appearance in Visual Studio VB

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

The discussion centers on issues with window appearance in Visual Studio 2022 on Windows 10, specifically regarding the form border style settings. Users report that changing the form border style to "Single" does not resolve the visual discrepancies, while setting it to "None" alters the appearance as expected. Despite attempts to troubleshoot, including reinstalling Visual Studio and testing with .NET 7 and .NET 8.0, the problem persists. The issue appears to be unrelated to specific executable or library files, as older projects also exhibit the same visual problems.

PREREQUISITES
  • Familiarity with Visual Studio 2022 interface and settings
  • Understanding of Windows Forms and form border styles
  • Basic knowledge of .NET 7 and .NET 8.0 frameworks
  • Experience with troubleshooting software installation issues
NEXT STEPS
  • Investigate Visual Studio 2022 form border style settings in detail
  • Explore Visual Studio repair and reinstallation processes
  • Research common visual issues in Windows Forms applications
  • Learn about .NET 8.0 runtime installation and compatibility
USEFUL FOR

Developers using Visual Studio 2022, particularly those working with Windows Forms applications, and anyone troubleshooting visual discrepancies in their development environment.

BvU
Science Advisor
Homework Helper
Messages
16,215
Reaction score
4,928
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
874
  • · 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