could you anybody help me ?
I have the problem concerning resources used by Syncfusion classes.
On the code line
this.dockingManager.DockLayoutStream = ((System.IO.MemoryStream)(resources.GetObject("dockingManager.DockLayoutStream")));
occurs this error:
An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Form_Main.resources" was correctly embedded or linked into assembly "UI_SF".
baseName: Form_Main locationInfo: UI_SF.Form_Main resource file name: Form_Main.resources assembly: UI_SF, Version=1.0.1054.24803, Culture=neutral, PublicKeyToken=null
Do you have any opinion how to solve it ?
PSPrakash S Syncfusion Team November 20, 2002 09:08 AM
I have responded to this issue through your Direct-Trac support incident.
ADAdministrator Syncfusion Team March 11, 2003 03:10 AM
Great , thats really handy for the rest of us.
> I have responded to this issue through your Direct-Trac support incident.
> Syncfusion, Inc.
PSPrakash S Syncfusion Team March 27, 2003 11:34 PM
Sorry about this, but our response to the incident was that the resource issue was being caused by some other condition within the app, and could not possibly be related to the DockingManager. An easy confirmation would be by running a simple check using an ImageList or some other component that loads from the form's resource file, and see if that loads normally.
USuserMay 9, 2003 01:19 PM
the solution is that u pass some name to ResourceManager ctor, and probably you dont include namespace before it
if u have 'ResFile' basename for resource file, you should pass a :
this.GetType().Namespace + '.' + "ResFile", not just "ResFile"
PHPer HultqvistJuly 28, 2003 10:59 AM
I got the exact same error when I had moved an Enum declaration before the class in a form. Guess the form class must always be placed at the top of the namespace :
// Could not place Enum here
public class MyForm : Form
// When I placed the Enum here it works again
public enum MyEnum