N
Nathan Sokalski
I have a class written in Visual Basic that inherits from
System.Web.UI.WebControls.Style. The file looks just like any other VB class
I wrote, it is simple a text file with a name of the format *.vb. However,
the Solution Explorer in Visual Studio 2008 displays it with a different
icon and when I double click the file to edit it, the tab opened by Visual
Studio 2008 has a title of:
myfilename.vb [Design]
And displays the text:
To add components to your class, drag them from the ToolBox and use the
Properties window to set their properties. To create methods and events for
your class, click here to switch to code view.
I can obviously click on "click here to switch to code view" or right click
the file in Solution Explorer and select "View Code" to edit the code in the
file, so I am not being restricted from editing the code using Visual Studio
2008. However, it is a pain in the neck to need to use a different method to
open a file that is of the same type as all the others. Why is Visual Studio
2008 treating this file differently? Any help would be appreciated. Thanks.
System.Web.UI.WebControls.Style. The file looks just like any other VB class
I wrote, it is simple a text file with a name of the format *.vb. However,
the Solution Explorer in Visual Studio 2008 displays it with a different
icon and when I double click the file to edit it, the tab opened by Visual
Studio 2008 has a title of:
myfilename.vb [Design]
And displays the text:
To add components to your class, drag them from the ToolBox and use the
Properties window to set their properties. To create methods and events for
your class, click here to switch to code view.
I can obviously click on "click here to switch to code view" or right click
the file in Solution Explorer and select "View Code" to edit the code in the
file, so I am not being restricted from editing the code using Visual Studio
2008. However, it is a pain in the neck to need to use a different method to
open a file that is of the same type as all the others. Why is Visual Studio
2008 treating this file differently? Any help would be appreciated. Thanks.