Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. writing to string resource

writing to string resource

Scheduled Pinned Locked Moved C#
learninghardwarehelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    likefood
    wrote on last edited by
    #1

    Ok, I know this sounds noob, but I'm learning as I go... Up to now, I have read in various strings (for prog settings) from a separate text file. I'd like to put all that string info in the program. I have embedded four [name]=[value] lines into the program (using resgen, going from .txt to .resx to .resources, and using the /resource csc.exe switch), but the ResourceManager only lets me read the information. If I only needed to read the info, I'd just use private string members in the program itself. However, the values change at runtime, and I'd like to save the changes (without using other files outside of the executing file). I've looked briefly (I try to search first, before running to the forum for help), but didn't see anything that would help me just save this information.

    -Daniel Typing too fast fro my owngood

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups