Click here to Skip to main content
15,888,527 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: personal worst... Pin
Herman<T>.Instance21-Nov-18 22:23
Herman<T>.Instance21-Nov-18 22:23 
GeneralRe: personal worst... Pin
DerekT-P21-Nov-18 23:09
professionalDerekT-P21-Nov-18 23:09 
GeneralRe: personal worst... Pin
Nelek22-Nov-18 9:48
protectorNelek22-Nov-18 9:48 
GeneralRe: personal worst... Pin
TheGreatAndPowerfulOz14-Jan-19 2:57
TheGreatAndPowerfulOz14-Jan-19 2:57 
GeneralRe: personal worst... Pin
David A. Gray28-Apr-19 15:49
David A. Gray28-Apr-19 15:49 
GeneralMS, you funny! Pin
David O'Neil10-Nov-18 13:18
professionalDavid O'Neil10-Nov-18 13:18 
GeneralRe: MS, you funny! Pin
Marc Clifton10-Nov-18 13:50
mvaMarc Clifton10-Nov-18 13:50 
GeneralRe: MS, you funny! Pin
David O'Neil10-Nov-18 14:37
professionalDavid O'Neil10-Nov-18 14:37 
In .NET, can you create a program where the save file dialog will default to the user's AppData folder for files like .ini files, and then back to the user's regular folders for their regular files? (I doubt you can, because I think this is a limitation of MS believing they know better than us how programs should work, and overriding their dialogs to disable such use.) If I'm wrong, I'm not going to rewrite, but would be interested to know.

GeneralRe: MS, you funny! Pin
Jon McKee10-Nov-18 16:02
professionalJon McKee10-Nov-18 16:02 
GeneralRe: MS, you funny! Pin
David O'Neil11-Nov-18 8:06
professionalDavid O'Neil11-Nov-18 8:06 
GeneralRe: MS, you funny! Pin
RickZeeland12-Nov-18 6:38
mveRickZeeland12-Nov-18 6:38 
GeneralRe: MS, you funny! Pin
David O'Neil12-Nov-18 7:06
professionalDavid O'Neil12-Nov-18 7:06 
GeneralRe: MS, you funny! Pin
RickZeeland12-Nov-18 7:42
mveRickZeeland12-Nov-18 7:42 
GeneralRe: MS, you funny! Pin
David O'Neil12-Nov-18 8:50
professionalDavid O'Neil12-Nov-18 8:50 
AnswerRe: MS, you funny! Pin
RickZeeland12-Nov-18 20:17
mveRickZeeland12-Nov-18 20:17 
GeneralRe: MS, you funny! Pin
David O'Neil13-Nov-18 6:23
professionalDavid O'Neil13-Nov-18 6:23 
JokeRe: MS, you funny! Pin
Nelek11-Nov-18 2:48
protectorNelek11-Nov-18 2:48 
GeneralRe: MS, you funny! Pin
David O'Neil11-Nov-18 8:05
professionalDavid O'Neil11-Nov-18 8:05 
GeneralRe: MS, you funny! Pin
Dirk Bahle12-Nov-18 10:52
Dirk Bahle12-Nov-18 10:52 
GeneralRe: MS, you funny! Pin
Bernhard Hiller13-Nov-18 22:19
Bernhard Hiller13-Nov-18 22:19 
GeneralThis code is evil Pin
den2k887-Nov-18 4:18
professionalden2k887-Nov-18 4:18 
GeneralRe: This code is evil PinPopular
Pete O'Hanlon7-Nov-18 6:21
mvePete O'Hanlon7-Nov-18 6:21 
GeneralRe: This code is evil Pin
MarkTJohnson7-Nov-18 6:43
professionalMarkTJohnson7-Nov-18 6:43 
GeneralRe: This code is evil Pin
kalberts14-Nov-18 0:54
kalberts14-Nov-18 0:54 
GeneralRe: This code is evil Pin
Rick York7-Nov-18 7:23
mveRick York7-Nov-18 7:23 

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.