Hi. The trouble with following your advice is that it seems only to work with Visual Studio and not with Web Matrix. In Visual Studio I know that I can add a new .vb file to my project and thatr any public classes defined in that file will be accessible throughout
the rest of the project. However, in ASP.NET Web Matrix there is no vbproj file and so there is no way to add a separate .vb file. So the only way I can declare a class that accessible to several pages seems to be to paste the code which defines the class
into every aspx page that needs it. I hope this description of my problem is clear :-)
BraveDruid
Member
40 Points
8 Posts
Re: code organisation
Sep 13, 2003 12:58 PM|LINK