Designer.vb System.Windows.Forms Error

Albert 20 Reputation points
2023-07-24T10:08:32.8866667+00:00

HI~

This is the 2019 version
The project has been in use for some time

I don't know why this problem occurs

I can change it to "Me.AutoScaleMode = AutoScaleMode.Font" is right

But as soon as I modify this window, I have to adjust this error once

All windows have this problem

Not just "System.Windows.Forms"

and "System.Drawing" too
ERROR: "Windows" is not a member of "Boolean"

Is there any way to solve it?

User's image

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Viorel 125.6K Reputation points
    2023-07-24T13:45:20.8733333+00:00

    Probably your form contains a field, property or control that is called “System”, for example:

    Private System As Boolean
    

    Try to rename this member or control.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.