Author Topic: Basic Label or General House keeping Problems  (Read 1619 times)

JohnnyTronic

  • Newbie
  • *
  • Posts: 30
    • View Profile
Basic Label or General House keeping Problems
« on: March 08, 2020, 09:29:51 PM »
I want to put 11 basic labels on the main form. When I add those, even to the original main form, no mods, I have problems.


After adding 11 basic labels and before  running  debug I save and and then rebuild the solution, then I ran debug, everything worked. Is saving and then rebuilding the correct procedure after mods?

The solution ran, then I closed visual studio and reopened.  I had the following error shown in the attached pictures.

Any suggestions for troubleshooting. Are my procedures wrong? Is it a code problem?

Johnny


JohnnyTronic

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Basic Label or General House keeping Problems
« Reply #1 on: March 08, 2020, 09:32:22 PM »
error screen, did not attach to the first message.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Basic Label or General House keeping Problems
« Reply #2 on: March 08, 2020, 09:55:07 PM »
Do you close all open forms before rebuilding the solution or closing Visual Studio?

You could eventually try using the attached modified BasicLabel.

JohnnyTronic

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Basic Label or General House keeping Problems
« Reply #3 on: March 08, 2020, 10:29:53 PM »
Do you close all open forms before rebuilding the solution or closing Visual Studio?

You could eventually try using the attached modified BasicLabel.

No I dont and those are the hints I am hunting for. so

Save the form I modified.
Close it.
rebuild.
then close visual studio or run debug?

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Basic Label or General House keeping Problems
« Reply #4 on: March 08, 2020, 10:54:23 PM »
You should open the form, make any changes you want, close the form and run debug.

You would generally rebuild the solution if you are replacing the existing controls with either modified or new ones (or replacing dll files or adding pictures or ...).

Close all the forms before you close the Visual Studio.


JohnnyTronic

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Basic Label or General House keeping Problems
« Reply #5 on: March 09, 2020, 04:14:20 PM »
Thanks, working now.