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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:46:36+00:00 2026-05-14T05:46:36+00:00

I’ve seen some examples, but trying to better understand how Resource files work, such

  • 0

I’ve seen some examples, but trying to better understand how “Resource” files work, such as embedding images, reports, schemas, etc.

If building an application, I want to make sure everything is available when deployed, but for things like reports and schemas, I don’t want anyone accidentally deleting, renaming, or otherwise mucking around with the content of things. So, embedding these types of items appears to make sense. Then, I just access via the dll via the resources manager.

Since I have not done this yet… Am I correct in the assumption that my final deployed stuff will be a bunch of dlls, and I can check to make sure all required exist before continuing the app. Then, all the reports and schemas I can get out of the “resource” dll assembly.

Additionally, since I already have some samples of about 5 reports, and their corresponding schemas that are NOT in a “resource” file, what is involved with adding these existing elements into a “resource” file and being able to run them. I know they all appear to have some embedded pathing things themselves, such as the report knowing where it’s schema is coming from. If the actual files are not part of the deployment, just extracted from the “resource”, will it choke?

Hope this is all making sense as this area of utilizing resource files is relatively new to me.

Thanks

  • 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-14T05:46:36+00:00Added an answer on May 14, 2026 at 5:46 am

    For visual studio, it’s pretty much drag and drop:

    1. Create resource file
    2. Open resource file
    3. Switch to files view
    4. Drag files from Solution Explorer into design surface
    5. Save

    At that point, an accessor class will have been created. The accessor class will have the same name as the base name of the resource file. Depending on the type of content of the files, it will have either a byte-array or string property for each embedded file.

    There are other ways to do it but none are as simple as that.

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

Sidebar

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.