Click here to Skip to main content
12,753,089 members (38,222 online)

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: shame to my tester or me? Pin
Michael K Gray3-May-12 1:38
memberMichael K Gray3-May-12 1:38 
GeneralRe: shame to my tester or me? Pin
englebart3-May-12 3:33
memberenglebart3-May-12 3:33 
GeneralRe: shame to my tester or me? Pin
Anna-Jayne Metcalfe3-May-12 5:49
memberAnna-Jayne Metcalfe3-May-12 5:49 
GeneralRe: shame to my tester or me? Pin
Eugene Peng3-May-12 14:43
memberEugene Peng3-May-12 14:43 
GeneralRe: shame to my tester or me? Pin
KP Lee5-May-12 12:21
memberKP Lee5-May-12 12:21 
GeneralRe: shame to my tester or me? Pin
pietvredeveld4-May-12 8:58
memberpietvredeveld4-May-12 8:58 
GeneralRe: shame to my tester or me? Pin
KP Lee5-May-12 11:11
memberKP Lee5-May-12 11:11 
GeneralSetDate Pin
loctrice26-Apr-12 9:06
memberloctrice26-Apr-12 9:06 
Function SetDate(ByVal nYear As Long, ByVal nMonth As Long, ByVal nDay As Long, ByVal nHour As Long, ByVal nMinute As Long, ByVal nSecond As Long) As Date
        Dim dTemp2 As New Date(nYear, nMonth, nDay, nHour, nMinute, nSecond)
        Return dTemp2
    End Function



really?


This is probably one of the best things this guy has done so far. I was advised not to put his code on this forum though. This one I just couldn't help.
If it moves, compile it

GeneralRe: SetDate Pin
Zac Greve26-Apr-12 9:15
memberZac Greve26-Apr-12 9:15 
GeneralRe: SetDate Pin
loctrice26-Apr-12 9:52
memberloctrice26-Apr-12 9:52 
GeneralRe: SetDate Pin
GibbleCH26-Apr-12 10:00
memberGibbleCH26-Apr-12 10:00 
GeneralRe: SetDate Pin
Zac Greve26-Apr-12 10:06
memberZac Greve26-Apr-12 10:06 
GeneralRe: SetDate Pin
Zac Greve26-Apr-12 10:05
memberZac Greve26-Apr-12 10:05 
GeneralRe: SetDate Pin
loctrice26-Apr-12 12:01
memberloctrice26-Apr-12 12:01 
GeneralRe: SetDate Pin
Zac Greve26-Apr-12 13:54
memberZac Greve26-Apr-12 13:54 
GeneralRe: SetDate Pin
loctrice26-Apr-12 17:01
memberloctrice26-Apr-12 17:01 
JokeRe: SetDate Pin
AspDotNetDev26-Apr-12 14:45
protectorAspDotNetDev26-Apr-12 14:45 
GeneralRe: SetDate Pin
Bernhard Hiller26-Apr-12 23:02
memberBernhard Hiller26-Apr-12 23:02 
GeneralRe: SetDate Pin
loctrice27-Apr-12 2:53
memberloctrice27-Apr-12 2:53 
GeneralRe: SetDate Pin
mark merrens27-Apr-12 13:39
membermark merrens27-Apr-12 13:39 
GeneralThats why i hate c++ Pin
Vasily Tserekh24-Apr-12 4:35
memberVasily Tserekh24-Apr-12 4:35 
GeneralRe: Thats why i hate c++ Pin
Vasily Tserekh24-Apr-12 4:43
memberVasily Tserekh24-Apr-12 4:43 
GeneralRe: Thats why i hate c++ Pin
glennPattonWork27-Apr-12 1:18
memberglennPattonWork27-Apr-12 1:18 
GeneralRe: Thats why i hate c++ Pin
Member 376360827-Apr-12 8:48
memberMember 376360827-Apr-12 8:48 
GeneralRe: Thats why i hate c++ Pin
StephenPhillips29-Apr-12 1:28
memberStephenPhillips29-Apr-12 1:28 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 22 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid