Click here to Skip to main content
15,886,963 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: XPath string comparisons Pin
Richard Deeming12-Jul-18 9:48
mveRichard Deeming12-Jul-18 9:48 
GeneralTwo easy lines for web copy to clipboard Pin
raddevus6-Jul-18 8:59
mvaraddevus6-Jul-18 8:59 
GeneralRe: Two easy lines for web copy to clipboard Pin
Nelek9-Jul-18 1:45
protectorNelek9-Jul-18 1:45 
GeneralOuternet Pin
Dr.Walt Fair, PE6-Jul-18 5:24
professionalDr.Walt Fair, PE6-Jul-18 5:24 
GeneralRe: Outernet Pin
Nelek6-Jul-18 7:18
protectorNelek6-Jul-18 7:18 
GeneralRe: Outernet Pin
Dr.Walt Fair, PE6-Oct-18 11:35
professionalDr.Walt Fair, PE6-Oct-18 11:35 
GeneralRe: Outernet Pin
Nelek6-Oct-18 23:49
protectorNelek6-Oct-18 23:49 
GeneralConsole Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
David A. Gray3-Jul-18 8:46
David A. Gray3-Jul-18 8:46 
This is definitely weird, and maybe wonderful.

For years, we've been told that you can't run a character mode program in full screen mode on Windows Vista and later. In Windows 10 Professional, Build 1803, there exists at least one special case in which you can! I discovered this by accident a couple of days ago, and finally remembered to document it.

Though I cannot imagine, offhand, why you might want it, when you run a console mode program in the Visual C++ debugger (the Native code debugger, that is), select the window, e. g., to copy text into the Windows Clipboard, if you press F11, the window displays full screen in 43-line mode. Thankfully, and as expected, F11 is a toggle; pressing F11 again restores the window to its normal size.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
Randor 3-Jul-18 9:40
professional Randor 3-Jul-18 9:40 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
Rick York3-Jul-18 11:19
mveRick York3-Jul-18 11:19 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
David A. Gray3-Jul-18 15:08
David A. Gray3-Jul-18 15:08 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
Randor 3-Jul-18 15:54
professional Randor 3-Jul-18 15:54 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
David A. Gray4-Jul-18 10:16
David A. Gray4-Jul-18 10:16 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
Randor 4-Jul-18 14:24
professional Randor 4-Jul-18 14:24 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
David A. Gray5-Jul-18 6:04
David A. Gray5-Jul-18 6:04 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
Randor 5-Jul-18 8:42
professional Randor 5-Jul-18 8:42 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
David A. Gray5-Jul-18 11:51
David A. Gray5-Jul-18 11:51 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
Randor 5-Jul-18 12:31
professional Randor 5-Jul-18 12:31 
GeneralRe: Console Window of Visual Studio 2017 Debugger Answers F10 with Full Screen 43-Line Display Pin
David A. Gray5-Jul-18 13:24
David A. Gray5-Jul-18 13:24 
GeneralWhy Static Const Almost Always Trumps Const Pin
David A. Gray2-Jul-18 10:30
David A. Gray2-Jul-18 10:30 
GeneralRe: Why Static Const Almost Always Trumps Const Pin
Chris Maunder2-Jul-18 10:35
cofounderChris Maunder2-Jul-18 10:35 
GeneralRe: Why Static Const Almost Always Trumps Const Pin
David A. Gray2-Jul-18 10:37
David A. Gray2-Jul-18 10:37 
GeneralRe: Why Static Const Almost Always Trumps Const Pin
Peter_in_27802-Jul-18 17:41
professionalPeter_in_27802-Jul-18 17:41 
GeneralRe: Why Static Const Almost Always Trumps Const Pin
David A. Gray2-Jul-18 21:08
David A. Gray2-Jul-18 21:08 
GeneralGood Regular Expression Fiddle Pin
David A. Gray27-Jun-18 8:20
David A. Gray27-Jun-18 8:20 

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.