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 Studio
  4. Ide keeps losing a control

Ide keeps losing a control

Scheduled Pinned Locked Moved Visual Studio
csharphelpvisual-studiocomquestion
4 Posts 3 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.
  • P Offline
    P Offline
    pseudonym67
    wrote on last edited by
    #1

    I have a C# custom control that I am using in an application that I am currently developing. The problem is that every single time I open the solution in .net 2003 the control is lost and when I try to drop it back onto the form it errors giving an "invalid parameter used" argument. Now the control has not been changed at all and basically everytime I start up the project I have to remove the control from the user control section and then re add it to the user control section and put it back on the from resetting it so that it works properly. It's not a major problem I know it's just very F***ing irritating every time I open the £$^$%&^£$&£% pproject. Anyone know a way to fix this? pseudonym67 Neural Dot Net Articles 1-11 Start Here[^]

    F 1 Reply Last reply
    0
    • P pseudonym67

      I have a C# custom control that I am using in an application that I am currently developing. The problem is that every single time I open the solution in .net 2003 the control is lost and when I try to drop it back onto the form it errors giving an "invalid parameter used" argument. Now the control has not been changed at all and basically everytime I start up the project I have to remove the control from the user control section and then re add it to the user control section and put it back on the from resetting it so that it works properly. It's not a major problem I know it's just very F***ing irritating every time I open the £$^$%&^£$&£% pproject. Anyone know a way to fix this? pseudonym67 Neural Dot Net Articles 1-11 Start Here[^]

      F Offline
      F Offline
      freshthinking
      wrote on last edited by
      #2

      Don't know how to fix it but I thought it let you know your not the only one. When it happens to me, which for some reason happens when i double click a form in the solution browser to view it, it removes all the UI controls from my form. I never had this problem with VS.NET 2002. I also have some custom controls on it. If i han't made a backup I'd be screwed cause I accidently saved it. This is a real problem that microsoft need to get fixed.

      P 1 Reply Last reply
      0
      • F freshthinking

        Don't know how to fix it but I thought it let you know your not the only one. When it happens to me, which for some reason happens when i double click a form in the solution browser to view it, it removes all the UI controls from my form. I never had this problem with VS.NET 2002. I also have some custom controls on it. If i han't made a backup I'd be screwed cause I accidently saved it. This is a real problem that microsoft need to get fixed.

        P Offline
        P Offline
        pseudonym67
        wrote on last edited by
        #3

        I think it's a setup thing on our systems as someone has responded to the article with the app in it and said they are having no problems. Of course I've no friggin idea what the setup problems is. pseudonym67 Neural Dot Net Articles 1-11 Start Here[^] Fuzzy Dot Net Articles 1-3 Start Here[^]

        J 1 Reply Last reply
        0
        • P pseudonym67

          I think it's a setup thing on our systems as someone has responded to the article with the app in it and said they are having no problems. Of course I've no friggin idea what the setup problems is. pseudonym67 Neural Dot Net Articles 1-11 Start Here[^] Fuzzy Dot Net Articles 1-3 Start Here[^]

          J Offline
          J Offline
          jholt
          wrote on last edited by
          #4

          I have the same problem. Best solution is do not save anything and exit VS. When you open VS again, the controls are back again. Also there is a chance that if you look in references, you will see a second copy of the dll with the user control in it. Regards Jeremy

          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