GetType error...

Sep 3 2006 12:03 PM
Hello all! I'm trying to apply a resource file to my web page and I got the following error in this line: ResourceManager objRm = new ResourceManager("AppResourceSample.res", GetType(form_contactos).Assembly); form_contactos is a 'type' but is used like a 'variable' I'm using: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Globalization; using System.Resources; using System.Threading; I'm trying VS2005 and I guess I hadn't this error on VS2003... Could you help me? Thanks a lot!