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. Visual Basic
  4. Save the value of a control

Save the value of a control

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
2 Posts 2 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.
  • B Offline
    B Offline
    Brad Fackrell
    wrote on last edited by
    #1

    I did this once a long time ago with VB6 and I just can’t seem to remember how to go about the whole thing. What I would like to do is transfer the value of several RadioButton’s (False or True) to a *.txt file. Then, I would like to be able to re-open the application and have it read the *.txt file and set the RadioButton values to reflect what was previously entered. … or is there a better way to save these values? Thanks. Brad

    S 1 Reply Last reply
    0
    • B Brad Fackrell

      I did this once a long time ago with VB6 and I just can’t seem to remember how to go about the whole thing. What I would like to do is transfer the value of several RadioButton’s (False or True) to a *.txt file. Then, I would like to be able to re-open the application and have it read the *.txt file and set the RadioButton values to reflect what was previously entered. … or is there a better way to save these values? Thanks. Brad

      S Offline
      S Offline
      sivilian
      wrote on last edited by
      #2

      You should look at the PropertyBag object which was designed for percisely this. hope this helps, sivilian

      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