Click here to Skip to main content
15,887,683 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: DAO Framework Pin
BobJanova8-Feb-12 4:28
BobJanova8-Feb-12 4:28 
GeneralRe: DAO Framework Pin
CDP18028-Feb-12 7:58
CDP18028-Feb-12 7:58 
GeneralRe: DAO Framework Pin
BobJanova8-Feb-12 23:12
BobJanova8-Feb-12 23:12 
GeneralRe: DAO Framework Pin
CDP18029-Feb-12 0:36
CDP18029-Feb-12 0:36 
GeneralRe: DAO Framework Pin
BobJanova9-Feb-12 0:43
BobJanova9-Feb-12 0:43 
GeneralRe: DAO Framework Pin
CDP18029-Feb-12 1:55
CDP18029-Feb-12 1:55 
GeneralRe: DAO Framework Pin
Rob Grainger12-Feb-12 14:31
Rob Grainger12-Feb-12 14:31 
GeneralConnectivity test PinPopular
MatthysDT1-Feb-12 1:19
MatthysDT1-Feb-12 1:19 
I came across the following, working on some one else's project:

pingHost pping = new pingHost();
//if ping is false then connection issues
if (!pping.ping("www.google.com")) {
    MessageBox.Show("The application is unable to connect to the internet and cannot continue.")
    return;
}



So, I take it that Google IS the internet.
What's more, this app runs on a VPN and in some cases on a LAN where the server is in the same building.

I wonder how many seemingly unrelated applications, neigh, systems, will EPICALLY FAIL throughout the world the day Google dies or decides to block ICMP requests. Roll eyes | :rolleyes:
(Maybe that's the event the Mayans predicted for 21 December 2012?)
GeneralRe: Connectivity test Pin
Albert Holguin1-Feb-12 3:25
professionalAlbert Holguin1-Feb-12 3:25 
GeneralRe: Connectivity test Pin
Ankit Maini1-Feb-12 20:42
Ankit Maini1-Feb-12 20:42 
GeneralRe: Connectivity test Pin
MatthysDT1-Feb-12 20:47
MatthysDT1-Feb-12 20:47 
GeneralRe: Connectivity test Pin
Dan Neely10-Feb-12 13:00
Dan Neely10-Feb-12 13:00 
GeneralRe: Connectivity test Pin
VallarasuS2-Feb-12 0:50
VallarasuS2-Feb-12 0:50 
GeneralRe: Connectivity test Pin
kmoorevs2-Feb-12 4:05
kmoorevs2-Feb-12 4:05 
GeneralRe: Connectivity test Pin
Gary Wheeler2-Feb-12 0:19
Gary Wheeler2-Feb-12 0:19 
GeneralRe: Connectivity test Pin
patbob2-Feb-12 6:13
patbob2-Feb-12 6:13 
GeneralRe: Connectivity test Pin
sergiogarcianinja2-Feb-12 2:12
sergiogarcianinja2-Feb-12 2:12 
GeneralRe: Connectivity test Pin
User 48350472-Feb-12 3:23
User 48350472-Feb-12 3:23 
GeneralRe: Connectivity test Pin
Theraot2-Feb-12 5:18
Theraot2-Feb-12 5:18 
GeneralRe: Connectivity test PinPopular
Moshe Katz2-Feb-12 7:13
Moshe Katz2-Feb-12 7:13 
GeneralRe: Connectivity test Pin
MatthysDT2-Feb-12 19:24
MatthysDT2-Feb-12 19:24 
GeneralRe: Connectivity test Pin
RCoate5-Feb-12 16:41
RCoate5-Feb-12 16:41 
GeneralRe: Connectivity test Pin
Moshe Katz6-Feb-12 14:36
Moshe Katz6-Feb-12 14:36 
GeneralRe: Connectivity test Pin
Member 78335217-Feb-12 3:31
Member 78335217-Feb-12 3:31 
GeneralThe beauty that is the default conversion... PinPopular
OriginalGriff31-Jan-12 0:40
mveOriginalGriff31-Jan-12 0:40 

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.