The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I take it upon myself to ask those detailed questions up front - and keep asking them until I get an answer in writing. Then I at least have CYA'd myself. It also helps if the developer knows the industry really well, because then you can tell the customer that they didn't think of this feature or that consequence. I understand that not all developers have the luxury of being experts in some random other field, but it does help.
Keep all things a simple as possible, but no simpler. -said someone, somewhere
Hey, thanks, you actually help me feeling better about this nonsense, I'm not a lone! Did you also have situations where you get a "spec" which is a prosaic description of what they want to be able to do, reply with a stiff spec of what you're going to build, they say "Yup, that's exactly what I want", you build it and back comes "but I can't do X" with X being explicitly forbidden by the spec they agreed to?
Yeah... I just wish they were honest for once. Instead of an "Yup, that's how I want it" and a "No, redo it" afterwards, an "I am not sure if that's exactly it, points 1 and 2 I like, the rest no idea" would have spared me countless wasted hours. That, and I think it's a linguistical issue at times. I had repeated cases of someone agreeing to me suggesting handling certain stuff implicitly while describing how they want it to be done in a rather explicit way. Literally "Yes, that's exactly how I want it. Also, add X" with X meaning the exact opposite of what I just said. I wonder if it's really people understanding words differently or just not thinking in the ifrst place.
Many years ago I worked with Visual Studio pre .NET using Basic and C++. Please remember that Windows forms is a code generator. Sometimes it would generate buggy code and crash your work and the graphic design.
I finally got out from under legacy programs. I worked in other IDEs for several years. When I got back to VS I switched to .NET, C# and WPF in one large step. I was satisficed with this environment for several years.
I just started a new job with a program that was started a year ago. To my surprise it uses C# with Windows Forms. Guess what??? The code generator still crashes the program.
So many years of programming I have forgotten more languages than I know.
I've been using this designer for many years, and when it crashes it is always because I did something silly (deleting a resource used by a control, for example).
I would not blame the designer at first; most of the time the issue began between the chair and the keyboard.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
My C#/WPF app uses some *.h files shared with our Windows services which are written in C++. These files are compiled into a 64-bit assembly. Of course, Visual Studio and the WPF designer are 32-bit applications, so they can't load 64-bit code. The WPF preview function therefore doesn't work. I used the vaunted designer for its XML pretty-print and syntax highlighting.
How's the crash stack look like? I've been using Windows.Forms for a decade or so and no issues so far, except that one case where my app crashed on Mono which I solved reading the crash stack.
Well, I had another interesting crash, an memory overflow. I was creating an object in an event handler and using the object in another event handler. .NET dealt with that just fine, Mono not so much. Since this thing had to run on a Raspberry Pi (so no .NET), I restructured the code.
The only times it has ever 'crashed', i.e cannot show the design window, is when I screwed up the code. I think you need to look closer at what you are doing. But if you have solid evidence that it's a bug in the IDE you could always report the problem to Microsoft.
Yeah, I am with the others in that I've been using WinForms for well over a decade and the only times that the designer has gone tango-uniform is when I've monkied with the designer code myself and dorked something up. We use the Infragistics controls extensively and we've had a few times where the UltraWinGrid has lost it's styling settings but those times are pretty rare. All in all I've not had any significant issues with VS (2008, 2010 and now 2015) and WinForms. (knocking on wood...)
I've actually had a better time working in winforms then WPF, when I update a graphic, it shows right away in winforms designer, but the WPF cashes the original image until i restart visual studio, but the compiled version shows correct ? more than half time the properties side bar in the designer refuses to update or allow me to click on anything in WPF, so I revert back to typing in xaml which I highly dislike.
And yes I could use Blend that seems to work well, but i dislike jumping out of the environment that I'm working in for a small tweak, like changing an image.
I can't remember winforms designer having any more crashes than the WPF designer
I've been using WINKEY+SHIFT+S to "clip" screenshots for a while - it's really handy for CP problem reports for example.
Now suddenly - since I installed a pen on the Surface - when I do that it opens "Snip & Sketch" (an MS Ink applet) to annotate it.
Only problem is, this is a desktop computer, and it doesn't have a pen - so why, Microsoft, are you playing around with it?
It was bad enough with the Wookietab and your deciding that since it had a US keyboard so did my desktop: I don't need you "synching" app between them ...
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!