AAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHGGGGGGGGGGGGGGGGGGHHHHHHHHHHHH!!!!!!
-
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
-
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)
-
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')
You been messing about with the designer code file? Come on, admit it, we won't judge you.
Visual Studio is an excellent GUIIDE.
-
You been messing about with the designer code file? Come on, admit it, we won't judge you.
Visual Studio is an excellent GUIIDE.
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')
-
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)
CP Layout testing I see.
Software Kinetics (requires SL3 beta) - Moving software
-
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')
_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.
-
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)
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 -
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)
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 -
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#xx965687xxGood 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')
-
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)
Vogons. Definitely Vogons.