Search code examples
vb.netwinformsprojects-and-solutions

Where can I find old .vb form width and height?


I have some old vb.net forms (can't find out which version they were using when they made them), and I can't find the form's Width and Height in any of the files.

The forms don't have a .designer.vb file, and it's not in the .vb "Windows Form Designer generated code" section either. However, when I open the form in the design view, I can see the values perfectly in the Properties tab.

I've tried making a file search for the values independently but there are nowhere to be found.

Any suggestions or ideas?

I have googled for some time but I can't find anything that helps.


Solution

  • After some tests, I'm quite sure the value comes from the sizes of everything else it has inside.

    The form has various Group controls that "force" the Form's size, and therefore, there's no need to stablish it manually. If I do so, the values appear as usual, but otherwise, they are not stored anywhere.