Click here to Skip to main content
15,891,253 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: Expletive Deleted Pin
Shameel10-Jul-13 4:38
professionalShameel10-Jul-13 4:38 
GeneralRe: Expletive Deleted Pin
Rob Grainger10-Jul-13 5:09
Rob Grainger10-Jul-13 5:09 
GeneralRe: Expletive Deleted Pin
AspDotNetDev10-Jul-13 5:15
protectorAspDotNetDev10-Jul-13 5:15 
GeneralRe: Expletive Deleted Pin
Ingo11-Jul-13 6:24
Ingo11-Jul-13 6:24 
GeneralRe: Expletive Deleted Pin
Corporal Agarn10-Jul-13 1:44
professionalCorporal Agarn10-Jul-13 1:44 
GeneralRe: Expletive Deleted Pin
Rob Grainger10-Jul-13 5:14
Rob Grainger10-Jul-13 5:14 
GeneralRe: Expletive Deleted Pin
ExcellentOrg10-Jul-13 20:38
ExcellentOrg10-Jul-13 20:38 
GeneralRe: Expletive Deleted Pin
Lee Chetwynd11-Jul-13 1:28
Lee Chetwynd11-Jul-13 1:28 
Rob Grainger wrote:
It's also worth considering that none of our PC's have a speaker Wink | ;-)

Surprisingly, someone asked me for an internal speaker beep to be added to a VB6 application recently, for users without speakers.

I had a look into it and, ignoring the fact that there would probably not be an internal speaker, a modern Windows O/S will divert the beep to the soundcard if there is one (even if its integrated) which needs speakers. So unless you have a machine with an internal speaker running Windows 98 or something, it just won’t do anything.

For some reason that made me feel sad and I briefly missed not being able to make things beep in such a simple manner!
GeneralRe: Expletive Deleted Pin
donbsc11-Jul-13 3:41
donbsc11-Jul-13 3:41 
GeneralRe: Expletive Deleted Pin
RafagaX11-Jul-13 4:43
professionalRafagaX11-Jul-13 4:43 
GeneralRe: Expletive Deleted Pin
Rob Grainger15-Jul-13 23:05
Rob Grainger15-Jul-13 23:05 
GeneralWhat this 'null' check doing here... PinPopular
Mohammed Hameed8-Jul-13 3:06
professionalMohammed Hameed8-Jul-13 3:06 
GeneralRe: What this 'null' check doing here... Pin
Pete O'Hanlon8-Jul-13 3:19
mvePete O'Hanlon8-Jul-13 3:19 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 3:29
professionalMohammed Hameed8-Jul-13 3:29 
GeneralRe: What this 'null' check doing here... Pin
Pete O'Hanlon8-Jul-13 3:30
mvePete O'Hanlon8-Jul-13 3:30 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 3:36
professionalMohammed Hameed8-Jul-13 3:36 
GeneralRe: What this 'null' check doing here... Pin
KP Lee10-Jul-13 19:22
KP Lee10-Jul-13 19:22 
GeneralRe: What this 'null' check doing here... Pin
bencr10-Jul-13 3:16
bencr10-Jul-13 3:16 
GeneralRe: What this 'null' check doing here... Pin
KP Lee10-Jul-13 19:52
KP Lee10-Jul-13 19:52 
GeneralRe: What this 'null' check doing here... PinPopular
peterchen8-Jul-13 3:21
peterchen8-Jul-13 3:21 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 3:25
professionalMohammed Hameed8-Jul-13 3:25 
GeneralRe: What this 'null' check doing here... Pin
jim lahey8-Jul-13 4:03
jim lahey8-Jul-13 4:03 
GeneralRe: What this 'null' check doing here... Pin
englebart10-Jul-13 4:18
professionalenglebart10-Jul-13 4:18 
GeneralRe: What this 'null' check doing here... Pin
peterchen10-Jul-13 9:22
peterchen10-Jul-13 9:22 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed10-Jul-13 19:50
professionalMohammed Hameed10-Jul-13 19:50 

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.