Developers using Visual Studio 2005, especially those switching from Visual Studio .NET, will probably know that Visual Studio 2005 hides code produced in Design mode automatically. Although on Microsoft’s site this feature is called “Just My Code,” there is no reference to that phrase anywhere in the UI that I could tell.

I couldn’t find a solution on the Internet that worked, and I finally figured it out on my own. I thought I’d publish it here in case anyone else had the same problem. It’s really simple: just click View, then click Show All Files. In the Solution Explorer pane, a plus sign will appear next to Windows forms. Just click on the plus sign, then double-click on <formname>.Designer.vb (replacing <formname> with the form name, of course).

(FYI: Note that I found conflicting instructions on the Internet that said the option to disable Just My Code was in the Options dialog box. Perhaps that was only applicable to beta versions of Visual Studio 2005, or perhaps my solution only works with the Express Editions.)