Click here to Skip to main content
15,867,594 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: And I will show you how deep the rabbit hole runs !!! Pin
Lutosław28-Jun-13 13:50
Lutosław28-Jun-13 13:50 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
MarkTJohnson8-Jul-13 8:44
professionalMarkTJohnson8-Jul-13 8:44 
GeneralWhen Gobbledygook, Do Nada (Except Break the Build) Pin
AspDotNetDev26-Jun-13 12:11
protectorAspDotNetDev26-Jun-13 12:11 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
lewax0026-Jun-13 13:39
lewax0026-Jun-13 13:39 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
Argonia26-Jun-13 22:03
professionalArgonia26-Jun-13 22:03 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
Richard Deeming26-Jun-13 23:57
mveRichard Deeming26-Jun-13 23:57 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
Argonia27-Jun-13 0:03
professionalArgonia27-Jun-13 0:03 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
OriginalGriff27-Jun-13 0:12
mveOriginalGriff27-Jun-13 0:12 
&H is VB prefix for Hex constant: so &H100 is 256, &H200 is 512, and so forth.

So it's converting a 32 bit hexadecimal integer constant value to a 32 bit integer value... D'Oh! | :doh:
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
Freak3027-Jun-13 0:57
Freak3027-Jun-13 0:57 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
OriginalGriff27-Jun-13 1:07
mveOriginalGriff27-Jun-13 1:07 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
Richard Deeming27-Jun-13 1:56
mveRichard Deeming27-Jun-13 1:56 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
Lutosław28-Jun-13 9:44
Lutosław28-Jun-13 9:44 
GeneralAhh, the joys of Visual Basic Pin
Argonia26-Jun-13 1:42
professionalArgonia26-Jun-13 1:42 
GeneralRe: Ahh, the joys of Visual Basic Pin
Mohammed Hameed26-Jun-13 2:10
professionalMohammed Hameed26-Jun-13 2:10 
GeneralRe: Ahh, the joys of Visual Basic Pin
dusty_dex26-Jun-13 2:29
dusty_dex26-Jun-13 2:29 
GeneralRe: Ahh, the joys of Visual Basic Pin
Herbie Mountjoy26-Jun-13 21:09
professionalHerbie Mountjoy26-Jun-13 21:09 
GeneralRe: Ahh, the joys of Visual Basic Pin
dusty_dex27-Jun-13 1:28
dusty_dex27-Jun-13 1:28 
GeneralRe: Ahh, the joys of Visual Basic Pin
Westm27-Jun-13 6:22
Westm27-Jun-13 6:22 
GeneralRe: Ahh, the joys of Visual Basic Pin
GuyThiebaut26-Jun-13 2:37
professionalGuyThiebaut26-Jun-13 2:37 
GeneralRe: Ahh, the joys of Visual Basic Pin
Argonia26-Jun-13 3:04
professionalArgonia26-Jun-13 3:04 
GeneralRe: Ahh, the joys of Visual Basic Pin
GuyThiebaut26-Jun-13 3:40
professionalGuyThiebaut26-Jun-13 3:40 
GeneralRe: Ahh, the joys of Visual Basic Pin
lewax0026-Jun-13 3:43
lewax0026-Jun-13 3:43 
GeneralRe: Ahh, the joys of Visual Basic Pin
gervacleto28-Jun-13 1:45
professionalgervacleto28-Jun-13 1:45 
GeneralRe: Ahh, the joys of Visual Basic Pin
Freak3027-Jun-13 1:02
Freak3027-Jun-13 1:02 
GeneralRe: Ahh, the joys of Visual Basic Pin
csugden27-Jun-13 4:03
professionalcsugden27-Jun-13 4:03 

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.