Oct 10, 2006 #1 K kcwallace Centurion Joined May 27, 2004 Messages 175 Location Austin, TX Can someone tell me how to use an embedded resource at runtime using C#? the VB.Net method is: Visual Basic: My.Resources.resourceName
Can someone tell me how to use an embedded resource at runtime using C#? the VB.Net method is: Visual Basic: My.Resources.resourceName
Oct 11, 2006 #2 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK C#: Properties.Resources.resourceName; or if you are adding in a resx file rather than using the default one just ResourceFileName.resourceName. i.e. Given a file Errors.resx with a resource called FileNotFound use C#: Errors.FileNotFound
C#: Properties.Resources.resourceName; or if you are adding in a resx file rather than using the default one just ResourceFileName.resourceName. i.e. Given a file Errors.resx with a resource called FileNotFound use C#: Errors.FileNotFound