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 7760677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:57:09+00:00 2026-06-01T13:57:09+00:00

In my wp7 application I do a web request that returns a status code

  • 0

In my wp7 application I do a web request that returns a status code like 100, 110, etc. Each status code is associated with a status message. This status messages are localized in my application.

E.g.

m100 'OK'
m110 'Text was empty'

I want to show this text in a message box like this. contents gives us the status code as string value.

var s = 
    MessageBox.Show(AppResources.m100, AppResources.Notice, MessageBoxButton.OK);

But I don’t want to specify a message box for each message. I want to handle this in a dynamic way like this.

var s = 
    MessageBox.Show(AppResources.m+contents, AppResources.Notice, 
                    MessageBoxButton.OK);

Any idea how to do this?

  • 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-06-01T13:57:10+00:00Added an answer on June 1, 2026 at 1:57 pm

    You should be able to use the ResourceManager to get the value:

    AppResources.ResourceManager.GetString("m" + contents)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i have a WP7 application that calls a wcf who runs with membership
In my WP7 application I loade some simple text data from the web. string
In my WP7 application I have downloaded 200 images from Web and saved in
I was trying to use secure web service URL in my WP7 Application but
I need to call web services from my WP7 client application for user login
I have a WP7 application that I've disabled the idle capabilities of the phone
I want to develop a WP7 application. In this one, I would like to
I would like to use the CameraCapturetask on my Silverlight WP7 application. On the
I am developing an WP7 application that connects to a set of webservices. I
I'm trying to create a WP7 application that will upload an image to my

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.