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. The Lounge
  3. AAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHGGGGGGGGGGGGGGGGGGHHHHHHHHHHHH!!!!!!

AAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHGGGGGGGGGGGGGGGGGGHHHHHHHHHHHH!!!!!!

Scheduled Pinned Locked Moved The Lounge
visual-studiodesignquestion
15 Posts 8 Posters 1 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 Lost User

    So, I'm working late as I have to get this project finished for a demo tomorrow. All's going well. I just needed to create a new user-control to handle this particular input, and I'm pretty much done. All the framework is working, it's running smooth as silk. By Gui design on the user control is stunning in its beauty and simplicity. I can almost hear the applause... So, I bung in the bare minimum code behind it to allow it to function within the framework and press F5. It runs, I select the appropriate option, and a big grey rectangle looms into view. No controls, nothing, just a base user control. So I go back to the designer. Yep - it's a big grey rectangle! If I look in the designer, all the code is there for all of the controls, and I can select the individual controls in the properties window - but nothing is appearing visually. I can't right-click on the usercontrol and do anything useful, it just looks like it's not bothering to draw the controls! WTF! What do I do - persevere trying to find out what's wrong, or go back and start again? Time is limited - I'm tired and emotional, not to mention hungry and as pissed off as a pubic hair on a toilet seat! The only reason the subject isn't "Why VS 2008 Sucks Today" is because I'm afraid it's me that's done something wrong! Bah!

    ___________________________________________ Ma3x (The 3 is silent)

    A Offline
    A Offline
    AspDotNetDev
    wrote on last edited by
    #4

    CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z!!! ;P

    Visual Studio is an excellent GUIIDE.

    L 1 Reply Last reply
    0
    • A AspDotNetDev

      CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z!!! ;P

      Visual Studio is an excellent GUIIDE.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #5

      Then the UC really IS just a grey rectangle!

      ___________________________________________ .\\axxx (That's an 'M')

      1 Reply Last reply
      0
      • D Dario Solera

        Have you deleted the InitializeComponent() call in the constructor maybe?

        If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki v3

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #6

        Good call - but no, it's still there and referenced correctly!

        ___________________________________________ .\\axxx (That's an 'M')

        1 Reply Last reply
        0
        • L Lost User

          So, I'm working late as I have to get this project finished for a demo tomorrow. All's going well. I just needed to create a new user-control to handle this particular input, and I'm pretty much done. All the framework is working, it's running smooth as silk. By Gui design on the user control is stunning in its beauty and simplicity. I can almost hear the applause... So, I bung in the bare minimum code behind it to allow it to function within the framework and press F5. It runs, I select the appropriate option, and a big grey rectangle looms into view. No controls, nothing, just a base user control. So I go back to the designer. Yep - it's a big grey rectangle! If I look in the designer, all the code is there for all of the controls, and I can select the individual controls in the properties window - but nothing is appearing visually. I can't right-click on the usercontrol and do anything useful, it just looks like it's not bothering to draw the controls! WTF! What do I do - persevere trying to find out what's wrong, or go back and start again? Time is limited - I'm tired and emotional, not to mention hungry and as pissed off as a pubic hair on a toilet seat! The only reason the subject isn't "Why VS 2008 Sucks Today" is because I'm afraid it's me that's done something wrong! Bah!

          ___________________________________________ Ma3x (The 3 is silent)

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #7

          It appears that all of the "this.Controlls.Add(xxxx)" have disappeared! So all the controls are there but not added to the collection, and I SWEAR it wasn't me that done it, guv.

          ___________________________________________ .\\axxx (That's an 'M')

          A 1 Reply Last reply
          0
          • L Lost User

            It appears that all of the "this.Controlls.Add(xxxx)" have disappeared! So all the controls are there but not added to the collection, and I SWEAR it wasn't me that done it, guv.

            ___________________________________________ .\\axxx (That's an 'M')

            A Offline
            A Offline
            AspDotNetDev
            wrote on last edited by
            #8

            You been messing about with the designer code file? Come on, admit it, we won't judge you.

            Visual Studio is an excellent GUIIDE.

            L 1 Reply Last reply
            0
            • A AspDotNetDev

              You been messing about with the designer code file? Come on, admit it, we won't judge you.

              Visual Studio is an excellent GUIIDE.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #9

              If I had, I'd 'fess up, honest, guvnor. Actually, I kinda wish I had, as it is I have no idea what the hell happened - although I have had a few out of memory errors so mayhap the designer code just stopped being written at some point...

              ___________________________________________ .\\axxx (That's an 'M')

              A 1 Reply Last reply
              0
              • L Lost User

                So, I'm working late as I have to get this project finished for a demo tomorrow. All's going well. I just needed to create a new user-control to handle this particular input, and I'm pretty much done. All the framework is working, it's running smooth as silk. By Gui design on the user control is stunning in its beauty and simplicity. I can almost hear the applause... So, I bung in the bare minimum code behind it to allow it to function within the framework and press F5. It runs, I select the appropriate option, and a big grey rectangle looms into view. No controls, nothing, just a base user control. So I go back to the designer. Yep - it's a big grey rectangle! If I look in the designer, all the code is there for all of the controls, and I can select the individual controls in the properties window - but nothing is appearing visually. I can't right-click on the usercontrol and do anything useful, it just looks like it's not bothering to draw the controls! WTF! What do I do - persevere trying to find out what's wrong, or go back and start again? Time is limited - I'm tired and emotional, not to mention hungry and as pissed off as a pubic hair on a toilet seat! The only reason the subject isn't "Why VS 2008 Sucks Today" is because I'm afraid it's me that's done something wrong! Bah!

                ___________________________________________ Ma3x (The 3 is silent)

                N Offline
                N Offline
                NormDroid
                wrote on last edited by
                #10

                CP Layout testing I see.

                Software Kinetics (requires SL3 beta) - Moving software

                1 Reply Last reply
                0
                • L Lost User

                  If I had, I'd 'fess up, honest, guvnor. Actually, I kinda wish I had, as it is I have no idea what the hell happened - although I have had a few out of memory errors so mayhap the designer code just stopped being written at some point...

                  ___________________________________________ .\\axxx (That's an 'M')

                  A Offline
                  A Offline
                  AspDotNetDev
                  wrote on last edited by
                  #11

                  _Maxxx_ wrote:

                  mayhap the designer code just stopped being written

                  To _Maxxx_:

                  I don't know, seems like it could be your fault or VS's fault.

                  FWIW, you may be correct. I've had very strange memory problems with VS, and it's crashed
                  umpteen times it seems. I don't understand why they would make it so hard to create new
                  controls. I'm trying to get my company to adopt WPF and they are hesitent, but the real
                  kicker is that I'm and advocate for WPF and I still have crazy problems with it.

                  Yesterday even, I had a strange memory problem where VS decided to jumble my code seemingly
                  out of nowhere. Happened when I was cutting some XAML to move it elsewhere. I wish MS
                  understood that it looks very bad when the IDE to create Win apps crashes many times daily.

                  Sincerely,
                  AspDotNetDev

                  _Maxxx_ wrote:

                  guvnor

                  ;).

                  Visual Studio is an excellent GUIIDE.

                  1 Reply Last reply
                  0
                  • L Lost User

                    So, I'm working late as I have to get this project finished for a demo tomorrow. All's going well. I just needed to create a new user-control to handle this particular input, and I'm pretty much done. All the framework is working, it's running smooth as silk. By Gui design on the user control is stunning in its beauty and simplicity. I can almost hear the applause... So, I bung in the bare minimum code behind it to allow it to function within the framework and press F5. It runs, I select the appropriate option, and a big grey rectangle looms into view. No controls, nothing, just a base user control. So I go back to the designer. Yep - it's a big grey rectangle! If I look in the designer, all the code is there for all of the controls, and I can select the individual controls in the properties window - but nothing is appearing visually. I can't right-click on the usercontrol and do anything useful, it just looks like it's not bothering to draw the controls! WTF! What do I do - persevere trying to find out what's wrong, or go back and start again? Time is limited - I'm tired and emotional, not to mention hungry and as pissed off as a pubic hair on a toilet seat! The only reason the subject isn't "Why VS 2008 Sucks Today" is because I'm afraid it's me that's done something wrong! Bah!

                    ___________________________________________ Ma3x (The 3 is silent)

                    P Offline
                    P Offline
                    peterchen
                    wrote on last edited by
                    #12

                    Just for kicks, report it to Connect[^].

                    Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                    | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                    1 Reply Last reply
                    0
                    • L Lost User

                      So, I'm working late as I have to get this project finished for a demo tomorrow. All's going well. I just needed to create a new user-control to handle this particular input, and I'm pretty much done. All the framework is working, it's running smooth as silk. By Gui design on the user control is stunning in its beauty and simplicity. I can almost hear the applause... So, I bung in the bare minimum code behind it to allow it to function within the framework and press F5. It runs, I select the appropriate option, and a big grey rectangle looms into view. No controls, nothing, just a base user control. So I go back to the designer. Yep - it's a big grey rectangle! If I look in the designer, all the code is there for all of the controls, and I can select the individual controls in the properties window - but nothing is appearing visually. I can't right-click on the usercontrol and do anything useful, it just looks like it's not bothering to draw the controls! WTF! What do I do - persevere trying to find out what's wrong, or go back and start again? Time is limited - I'm tired and emotional, not to mention hungry and as pissed off as a pubic hair on a toilet seat! The only reason the subject isn't "Why VS 2008 Sucks Today" is because I'm afraid it's me that's done something wrong! Bah!

                      ___________________________________________ Ma3x (The 3 is silent)

                      B Offline
                      B Offline
                      Bernhard
                      wrote on last edited by
                      #13

                      This happens to me when an exception is thrown inside the control code. Check for that. (e.g. referencing a property which throws an exception)


                      All the label says is that this stuff contains chemicals "... known to the State of California to cause cancer in rats and low-income test subjects."
                      Roger Wright
                      http://www.codeproject.com/lounge.asp?select=965687&exp=5&fr=1#xx965687xx

                      L 1 Reply Last reply
                      0
                      • B Bernhard

                        This happens to me when an exception is thrown inside the control code. Check for that. (e.g. referencing a property which throws an exception)


                        All the label says is that this stuff contains chemicals "... known to the State of California to cause cancer in rats and low-income test subjects."
                        Roger Wright
                        http://www.codeproject.com/lounge.asp?select=965687&exp=5&fr=1#xx965687xx

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #14

                        Good call! I do now remember that I did have code in a constructor on one of the controls that threw an exception - although I fixed it immediately, apparently the damage must already have been done!

                        ___________________________________________ .\\axxx (That's an 'M')

                        1 Reply Last reply
                        0
                        • L Lost User

                          So, I'm working late as I have to get this project finished for a demo tomorrow. All's going well. I just needed to create a new user-control to handle this particular input, and I'm pretty much done. All the framework is working, it's running smooth as silk. By Gui design on the user control is stunning in its beauty and simplicity. I can almost hear the applause... So, I bung in the bare minimum code behind it to allow it to function within the framework and press F5. It runs, I select the appropriate option, and a big grey rectangle looms into view. No controls, nothing, just a base user control. So I go back to the designer. Yep - it's a big grey rectangle! If I look in the designer, all the code is there for all of the controls, and I can select the individual controls in the properties window - but nothing is appearing visually. I can't right-click on the usercontrol and do anything useful, it just looks like it's not bothering to draw the controls! WTF! What do I do - persevere trying to find out what's wrong, or go back and start again? Time is limited - I'm tired and emotional, not to mention hungry and as pissed off as a pubic hair on a toilet seat! The only reason the subject isn't "Why VS 2008 Sucks Today" is because I'm afraid it's me that's done something wrong! Bah!

                          ___________________________________________ Ma3x (The 3 is silent)

                          P Offline
                          P Offline
                          PIEBALDconsult
                          wrote on last edited by
                          #15

                          Vogons. Definitely Vogons.

                          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