CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Oct 2007
    Posts
    40

    Issue with resource file

    Hi

    i have one dynamically created image resource file.But when i am trying to read the image from resource file i am getting one error.


    Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "D:\my projects\Redist\Images.resources" was correctly embedded or linked into assembly "Helper" at compile time, or that all the satellite assemblies required are loadable and fully signed.


    my code is :

    _assembly = Assembly.GetExecutingAssembly();

    _resourceManager = new ResourceManager(Application.StartupPath + @"\Images", _assembly);

    Image image = (Image)_resourceManager.GetObject(fileName);



    what is the issue?



    regards

    laby
    Last edited by laby; June 4th, 2008 at 12:20 AM.
    regards
    laby

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured