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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:36:57+00:00 2026-05-26T16:36:57+00:00

Just doing a bit of self teaching on visual basic, I have a list

  • 0

Just doing a bit of self teaching on visual basic, I have a list of buttons and when clicked I want to disable then and highlight them as red. I am ok on getting the button functions to work and I understand how to publish the gui as an .exe

Is it possible to save it so if i click on the button and it turns red and then i close the .exe and open it again the button stays red?

  • 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-26T16:36:57+00:00Added an answer on May 26, 2026 at 4:36 pm

    You’re asking three questions here; I’m not sure which ones you still need answered. At the risk of repeating what you already know:

    1) To disable a button, set “enabled = false”

    2) To change the color of a button, set “color = red”

    … and …

    3) To “persist” an .exe’s state when you run it, you’ll need to 1) save the current state (for example, to a text file, an .ini file, or an .XML file). 2) You’ll need to re-read that state when you open the program (e.g. in “Load form”). 3) It would be best to write the file would be all current settings at once, when you exit (e.g. in “Unload form”).

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

Sidebar

Related Questions

Just doing a bit of reading up on Generics. I have written a little
Just been doing a bit of playing with FireMonkey. If I create a HD
I'm just doing a simple graph using Open Flash Chart http://teethgrinder.co.uk/open-flash-chart/ which shows the
I'm sure I am just doing something really dumb and not seeing it but
I'm sure I'm just doing something stupid here, but I can't quite figure out
Doesn't seem to work for me, maybe I just doing it wrong
I've just started doing some PowerShell scripting, and I'm running into a problem testing
I've just started doing some real-world performance testing on my Fluent NHibernate / SQLite
I'm new to RhinoMock's just been doing state unit testing up till now. How
I just caught myself doing something I do a lot, and wanted to generalize

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.