Results 1 to 3 of 3

Thread: Cannot Specify Resource file path for c#.net 1.1

  1. #1
    Join Date
    Jan 2009
    Posts
    48

    Cannot Specify Resource file path for c#.net 1.1

    To changing culture of pages with resource files, i am using resourcemanager. My syntax to create resource manager is :
    Code:
    RM =new ResourceManager("MyStrings",System.Reflection.Assembly.GetExecutingAssembly());
    I am unable to specify the Resource file directory path for it. I am using asp.net 1.1. I want to specify the path manually because it is giving an error that is cannot find the path. Please help...

  2. #2
    Join Date
    May 2008
    Posts
    2,389

    Re: Cannot Specify Resource file path for c#.net 1.1

    According to me assembly you should not specify the path as GetExecutingAssembly returns a reference to the assembly that you are calling the method yours is 'Assembly'. According to me what you should use is the ctor overload which will accept a TYPE as the second parameter, so specify the TYPE of the particular Resource Assembly that you need to use.

  3. #3
    Join Date
    Jan 2009
    Posts
    48

    Re: Cannot Specify Resource file path for c#.net 1.1

    Hey thanks mate! That helped me.. I'm still not very well with asp.net. Hope i come across you again... The method of yours just disappeared my problem...

Similar Threads

  1. cannot copy file-path too long
    By Sauvan in forum Windows XP Support
    Replies: 8
    Last Post: 31-12-2014, 03:31 PM
  2. Automatic File name path for Word 2007
    By pmela in forum MS Office Support
    Replies: 3
    Last Post: 28-01-2010, 01:15 AM
  3. search for right file path if exist on Dos
    By Clauzii in forum Operating Systems
    Replies: 3
    Last Post: 26-06-2009, 11:26 AM
  4. Absolute path to run JAR file
    By joel84 in forum Software Development
    Replies: 3
    Last Post: 30-04-2009, 02:05 PM
  5. File Server Resource Manager (FSRM) will not start
    By Gene Schuman in forum Windows Server Help
    Replies: 6
    Last Post: 10-12-2007, 06:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,027,159.77337 seconds with 17 queries