Click here to Skip to main content
15,887,875 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: That may have been a mistake... Pin
OriginalGriff26-Aug-10 0:36
mveOriginalGriff26-Aug-10 0:36 
GeneralString "bitmaps" Pin
Gordon Kushner20-Aug-10 2:32
Gordon Kushner20-Aug-10 2:32 
GeneralRe: String "bitmaps" Pin
PIEBALDconsult20-Aug-10 3:13
mvePIEBALDconsult20-Aug-10 3:13 
GeneralRe: String "bitmaps" Pin
CDP180220-Aug-10 4:32
CDP180220-Aug-10 4:32 
GeneralRe: String "bitmaps" Pin
Gordon Kushner20-Aug-10 5:22
Gordon Kushner20-Aug-10 5:22 
GeneralRe: String "bitmaps" Pin
Richard A. Dalton20-Aug-10 4:39
Richard A. Dalton20-Aug-10 4:39 
GeneralRe: String "bitmaps" Pin
Gordon Kushner20-Aug-10 5:20
Gordon Kushner20-Aug-10 5:20 
GeneralRe: String "bitmaps" Pin
Richard A. Dalton20-Aug-10 5:53
Richard A. Dalton20-Aug-10 5:53 
Thanks for the excuse to go back and look at that again.
It's hard to believe that back then I thought that CCustomerCol was a good naming convention.

And as for LetXML and GetXML!?!?! Sigh | :sigh:

To this day nobody has ever noticed (or at least admitted noticing) the following:

CustCol.Customer(1).Company = "LA"
CustCol.Customer(1).ContactName = "Sandy"
CustCol.Customer(1).Phone = "555-2312"

In the movie LA Story Sarah Jessica Parker's character is called Sandy and gives Steve Martin's character her phone number which is...555-2312.

The movie happened to be on tv in the background when I was writing the article. Just when I needed a bit of sample data that scene happened.

According to
http://www.radivarl.demon.co.uk/nick/media/555.htm[^]

I misspelled her name.
GeneralRe: String "bitmaps" Pin
Gordon Kushner20-Aug-10 6:13
Gordon Kushner20-Aug-10 6:13 
GeneralRe: String "bitmaps" Pin
Rob Grainger20-Aug-10 5:56
Rob Grainger20-Aug-10 5:56 
GeneralRe: String "bitmaps" Pin
Richard A. Dalton20-Aug-10 6:58
Richard A. Dalton20-Aug-10 6:58 
GeneralRe: String "bitmaps" Pin
Keith Barrow21-Aug-10 23:45
professionalKeith Barrow21-Aug-10 23:45 
GeneralRe: String "bitmaps" Pin
Richard A. Dalton22-Aug-10 12:21
Richard A. Dalton22-Aug-10 12:21 
GeneralRe: String "bitmaps" Pin
Keith Barrow22-Aug-10 12:49
professionalKeith Barrow22-Aug-10 12:49 
GeneralRe: String "bitmaps" Pin
Richard A. Dalton22-Aug-10 23:32
Richard A. Dalton22-Aug-10 23:32 
GeneralRe: String "bitmaps" Pin
T M Gray20-Aug-10 6:15
T M Gray20-Aug-10 6:15 
GeneralRe: String "bitmaps" Pin
Dr.Walt Fair, PE20-Aug-10 7:56
professionalDr.Walt Fair, PE20-Aug-10 7:56 
GeneralRe: String "bitmaps" Pin
Nagy Vilmos22-Aug-10 0:34
professionalNagy Vilmos22-Aug-10 0:34 
GeneralRe: String "bitmaps" Pin
Blake Miller21-Sep-10 12:30
Blake Miller21-Sep-10 12:30 
GeneralOne of those bad days and now i find stuff like this... Pin
Bigdeak18-Aug-10 1:29
Bigdeak18-Aug-10 1:29 
GeneralRe: One of those bad days and now i find stuff like this... Pin
hammerstein0518-Aug-10 6:22
hammerstein0518-Aug-10 6:22 
JokeRe: One of those bad days and now i find stuff like this... Pin
akyriako7820-Aug-10 2:56
akyriako7820-Aug-10 2:56 
GeneralRe: One of those bad days and now i find stuff like this... Pin
Jeroen De Dauw18-Aug-10 7:22
Jeroen De Dauw18-Aug-10 7:22 
GeneralRe: One of those bad days and now i find stuff like this... Pin
AspDotNetDev18-Aug-10 12:57
protectorAspDotNetDev18-Aug-10 12:57 
GeneralRe: One of those bad days and now i find stuff like this... Pin
Camilo Sanchez18-Aug-10 16:27
Camilo Sanchez18-Aug-10 16:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.