Why Microsoft, and I, suck today. Mostly Microsoft though.
-
Henry Minute wrote:
I perceived the problem to be WPFish so I probably would have asked in the WPF Perl forum
That's more like it! :D If you want to ask questions here at least get used to the local customs :laugh: Sorry, I spent last weekend answering in QA quite a bit. It really makes a-holes out of perfectly nice people ;p
It's an OO world.
public class Naerling : Lazy<Person>{}
Yes, I understand the feeling :) The best way I can express it is to describe it as a mental illusion which is the reverse of the optical illusion of the kind seen in highly convex car side-mirrors that have a small sticker on them "Warning objects may appear smaller than they are." best, Bill
"Last year I went fishing with Salvador Dali. He was using a dotted line. He caught every other fish." Steven Wright
-
I needed a database with images for testing something I am working on. Aha! I thought, Good old Northwind has images in the Employees table, I'll use that. Could I get the images to display? Could I *!%^! Two days ago I started a simple 1 Form WPF test App. I have just finished it. Two pigging days! Just because Microsoft, for reasons best known to themselves, tacked 78 bytes of garbage on the front of those images and have never (so far as I know) corrected the error, if it was an error, or corrected the data if that's where the problem lies. Two whole days (well on and off, anyway) of writing and re-writing ValueConverters which would probably have worked in their first incarnation. Two days of trying different binding schemes. Two days I will never get back!:mad: *!%^ you Microsoft, you suck Donkey-Balls. Oh, and why do I suck? Well in August 2005 I encountered this same problem in a WinForms thing I was working on. Silly me, only six years ago and I'd forgotten. I must be going senile. Gibber, gibber........................... ;P :laugh:
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
It's not too late, Henry. I've heard that, if you nightly consume orally the gonads of seven hundred light-colored moths, you can avert the memory loss associated with aging. Please, I beg you, lest we be deprived of the benefit of your ancient wisdom, buy a bug zapper and a good fork, or even chopsticks if that is your preference, and get to chowing down on mothy goodness. I have a lady friend who owns a Belgian Husky which eats a ton of moths every night when the bug zapper is on, and she's the smartest dog I've ever known. You can't go wrong with empirical evidence like this, and the CodeProject community can't afford to lose your wisdom.
Will Rogers never met me.
-
OriginalGriff wrote:
It's a good thing you didn't post this in Q&A - you would have been told to Google[^]
Which is one of the reasons I didn't ask. I hadn't yet exhausted my options. I actually found the solution by searching but it would have taken me ages to search about Northwind since I perceived the problem to be elsewhere. I actually found it when one of my attempts at a ValueConverter threw an error. Searching on the error message threw up the 78 byte thing in a response about two thirds of the way through a fairly long thread from the third page of hits. A sort of "You're not using the Northwind images are you? here's a link to help if you are." throw away comment.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
It's a bugger when that happens - you get so focussed on one idea that you don't think to take a step back and look at the problem from the outside. Sometimes, I wish I still smoked, to give me just such a step away from the code face. Not enough to actually take it up again, though...
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
It's not too late, Henry. I've heard that, if you nightly consume orally the gonads of seven hundred light-colored moths, you can avert the memory loss associated with aging. Please, I beg you, lest we be deprived of the benefit of your ancient wisdom, buy a bug zapper and a good fork, or even chopsticks if that is your preference, and get to chowing down on mothy goodness. I have a lady friend who owns a Belgian Husky which eats a ton of moths every night when the bug zapper is on, and she's the smartest dog I've ever known. You can't go wrong with empirical evidence like this, and the CodeProject community can't afford to lose your wisdom.
Will Rogers never met me.
Roger Wright wrote:
I have a lady friend who owns a Belgian Husky
I wasn't aware that Luc had a sore throat. I hope he feels better soon.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
-
You've spent two days on page 3? :omg:
Luc Pattyn [My Articles] Nil Volentibus Arduum
Well, she was a big girl!
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
-
It's a bugger when that happens - you get so focussed on one idea that you don't think to take a step back and look at the problem from the outside. Sometimes, I wish I still smoked, to give me just such a step away from the code face. Not enough to actually take it up again, though...
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
Wander down to the water cooler/coffee machine and get yourself a drink, and wander around with that for five minutes to think. You can take 'smoking breaks' without a cancer stick.
I know what you mean - and it doesn't affect me, since I work from home anyway - but wandering around with a drink in your hand is not seen as "useful work" in most companies, while giving yourself cancer is. Strange, but true.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
I know what you mean - and it doesn't affect me, since I work from home anyway - but wandering around with a drink in your hand is not seen as "useful work" in most companies, while giving yourself cancer is. Strange, but true.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
I've not found that - most employers will be quite considerate. Especially if you mention you're giving up smoking. Of course, you could always say: "So I'm allowed a break to smoke but not for water/other reasons. Can I have that in writing?". I suspect they'll see the light very quickly, for legal reasons.
-
Henry Minute wrote:
Microsoft, for reasons best known to themselves, tacked 78 bytes of garbage on the front of those images
Sure that's not something like a bitmap header?
Somebody in an online forum wrote:
INTJs never really joke. They make a point. The joke is just a gift wrapper.
I am aware of bitmap headers of various descriptions and am pretty sure that this GARBAGE is not a bitmap header (or at least not one that I have seen before). Just for you I have gone to the trouble and expense of taking time out of my busy schedule :zzz: and writing and including in my application a Hexdumper as well as the image display.
0010 - FF FF FF FF 42 69 74 6D - 61 70 20 49 6D 61 67 65 ÿÿÿÿBitmap Image
0020 - 00 50 61 69 6E 74 2E 50 - 69 63 74 75 72 65 00 01 .Paint.Picture..
0030 - 05 00 00 02 00 00 00 07 - 00 00 00 50 42 72 75 73 ...........PBrus
0040 - 68 00 00 00 00 00 00 00 - 00 00 20 54 00 00 42 4D h......... TThis is followed by the standard "BM" header.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
-
Roger Wright wrote:
I have a lady friend who owns a Belgian Husky
I wasn't aware that Luc had a sore throat. I hope he feels better soon.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
-
I am aware of bitmap headers of various descriptions and am pretty sure that this GARBAGE is not a bitmap header (or at least not one that I have seen before). Just for you I have gone to the trouble and expense of taking time out of my busy schedule :zzz: and writing and including in my application a Hexdumper as well as the image display.
0010 - FF FF FF FF 42 69 74 6D - 61 70 20 49 6D 61 67 65 ÿÿÿÿBitmap Image
0020 - 00 50 61 69 6E 74 2E 50 - 69 63 74 75 72 65 00 01 .Paint.Picture..
0030 - 05 00 00 02 00 00 00 07 - 00 00 00 50 42 72 75 73 ...........PBrus
0040 - 68 00 00 00 00 00 00 00 - 00 00 20 54 00 00 42 4D h......... TThis is followed by the standard "BM" header.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
Seems you are right, though it's not exactly garbage. Seems the image has been OLE wrapped (Object Linking and Embedding).
Somebody in an online forum wrote:
INTJs never really joke. They make a point. The joke is just a gift wrapper.
-
Ah yes but I wasn't stuck. I was still taking forward steps. I still had ideas I hadn't tried. If I hadn't solved it I would have asked. Probably not in QA though. I perceived the problem to be WPFish so I probably would have asked in the WPF forum which could have turned out to be another boo-boo. :laugh:
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
-
Seems you are right, though it's not exactly garbage. Seems the image has been OLE wrapped (Object Linking and Embedding).
Somebody in an online forum wrote:
INTJs never really joke. They make a point. The joke is just a gift wrapper.
If I don't want it, it's garbage! :-D Didn't think of OLE. Good shot sir!
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.