Click here to Skip to main content
15,892,005 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: Making sure something is really true..... Pin
gavindon11-May-11 9:44
gavindon11-May-11 9:44 
GeneralRe: Making sure something is really true..... Pin
AspDotNetDev11-May-11 9:57
protectorAspDotNetDev11-May-11 9:57 
GeneralRe: Making sure something is really true..... Pin
gavindon11-May-11 10:08
gavindon11-May-11 10:08 
GeneralRe: Making sure something is really true..... Pin
BillW3312-May-11 4:33
professionalBillW3312-May-11 4:33 
GeneralRe: Making sure something is really true..... Pin
R. Erasmus12-May-11 21:09
R. Erasmus12-May-11 21:09 
GeneralRe: Making sure something is really true..... Pin
Sterling Camden / independent consultant13-May-11 6:56
Sterling Camden / independent consultant13-May-11 6:56 
GeneralRe: Making sure something is really true..... Pin
TorstenFrings17-May-11 2:32
TorstenFrings17-May-11 2:32 
GeneralASP.NET Web application messagebox Pin
Mark Morgan Miranda10-May-11 2:53
Mark Morgan Miranda10-May-11 2:53 
System.Windows.Forms.MessageBox.Show


When used on "Web Application" actualy works on Visual Studio 2010 during debug runtime not a single warning or error.

Just to find out that once compiled and uploaded to be viewed online then you get ERROR saying it was only meant for local application. Then why the hell they don't even tell while you where debuging it took me about 4 hours to found this out.

you will get this error:

Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

Beware of this .Net debuging st*p*d*ty! Mad | :mad: Mad | :mad: or maybe I was the problem Sigh | :sigh:

I was st*p*d to believe in some guy posting that this is better way to show message box on Web App.
GeneralRe: ASP.NET Web application messagebox Pin
OriginalGriff10-May-11 4:54
mveOriginalGriff10-May-11 4:54 
GeneralRe: ASP.NET Web application messagebox Pin
Shameel18-May-11 2:05
professionalShameel18-May-11 2:05 
GeneralRe: ASP.NET Web application messagebox Pin
User 44371887-Jun-11 6:55
User 44371887-Jun-11 6:55 
GeneralThe area of management of changes to documents, programs and other things relating to revision control sucks. Pin
R. Erasmus9-May-11 22:34
R. Erasmus9-May-11 22:34 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
CDP18029-May-11 23:14
CDP18029-May-11 23:14 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
R. Erasmus9-May-11 23:22
R. Erasmus9-May-11 23:22 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
CDP18029-May-11 23:29
CDP18029-May-11 23:29 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
R. Erasmus9-May-11 23:32
R. Erasmus9-May-11 23:32 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
CDP18029-May-11 23:33
CDP18029-May-11 23:33 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
R. Erasmus9-May-11 23:36
R. Erasmus9-May-11 23:36 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
CDP18029-May-11 23:39
CDP18029-May-11 23:39 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
R. Erasmus9-May-11 23:42
R. Erasmus9-May-11 23:42 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
CDP18029-May-11 23:44
CDP18029-May-11 23:44 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
R. Erasmus9-May-11 23:47
R. Erasmus9-May-11 23:47 
GeneralRe: The area of management of changes to documents, programs and other things relating to revision control sucks. Pin
Joshi, Rushikesh12-May-11 23:19
professionalJoshi, Rushikesh12-May-11 23:19 
GeneralUseful code comments [modified] Pin
Fred van Lieshout9-May-11 21:23
Fred van Lieshout9-May-11 21:23 
GeneralRe: Useful code comments Pin
Sander Rossel9-May-11 21:41
professionalSander Rossel9-May-11 21:41 

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.