Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 732975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:12:12+00:00 2026-05-14T07:12:12+00:00

I am working on a Windows Forms application in C#/.Net. I want to use

  • 0

I am working on a Windows Forms application in C#/.Net. I want to use a resource file that contains translations of my strings. My my project in visual studio I have the following hierarchy:

  • Project
    • CS files …
    • Resources\
      • resource.en-US.resx

I am trying to read in the resource file as follows:

m_ResourceReader = new ResXResourceReader("resources/resource.en-US.resx");

When I run this project, Visual Studio seems to look for the resources folder in the bin/Debug output folder of my project.

My questions are:

  • What is the right way to reference a resource file?
  • I would like my installer to place this resource file under my application’s folder under Program Files\MyApp\resources\resource.en-US.resx. What would be the way to make ResXResourceReader read it from that location.

Thanks for your help.

-Raj

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T07:12:13+00:00Added an answer on May 14, 2026 at 7:12 am

    There is no right way to reference a .resx file at runtime. They are design-time files, the build system translates them to satellite assemblies. And copies the resulting DLL into the en-US folder of your bin\Debug folder. And the runtime automatically finds and uses them if the current culture is set to en-US.

    I suppose you can get .resx reading going, but you’ll get no help from the IDE or the build system to do so. I’d have to recommend you avoid fighting the machine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a visual studio 2005 vb.net windows forms project that's been around
I'm working on a Windows Forms (.NET 3.5) application that has a built-in exception
I am working on a Windows Forms application in VS 2008, and I want
I have been working on a project that has 2 interfaces - windows forms
I need to use linq in C# Windows form application working with .Net Framework
I'm working on a windows forms application (C#) where a user is entering data
I am working on a simple chat application using a System.Windows.Forms.WebBrowser Control to display
I am working on a windows form application. How do i use the find
I have following situation in a C# Windows Forms (.NET 4.0) application: I have
I am working on a Windows Forms app for quite some time now, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.