9 Archived Topics
Remove Filter Now, before you say it already exists (because it does) I found that those didn't really have the generic ability to find any control on a form, regardless of containers. So, here you have a piece of code which will find any control on a form and will also search … | |
## Why am I Here? ## This question is not as philosophical as it sounds, but it's one worth answering. I am here because I want to help people understand programming and help make us all better programmers. Sometimes I have questions to ask, sometimes I have answers to give. … | |
This "FakeWebClient" will allow a C# application to send and receive cookies as part of the request. This behaviour is not available by default. Please note that on line 35 there is a possible NullReferenceException, I managed this at a level higher but you may wish to handle it in … | |
So, in answering another thread on this forum, I decided to do some performance testing on String. Mainly because a friend of mine said "You should always use `new String` it's the fastest!". I wasn't convinced and argued in favour of StringBuilder, at which point I was directed to some … | |
Hi all! Quick summary: I'm attempting to shutdown a socket, but the framework that I'm inheriting an Interface from already contains an implementation of a "shutdown" method. Therefore, I am unable to call "shutdown" for the socket. Longer Explanation: How can I fix this? I originally tried looking for a … | |
A while ago, I had a piece of XML you put in the application config file which made .net write all exceptions and traces into a log file, without any modifications to the code. (i.e. I didn't have any trace listeners or manual log files) I cannot for the life … | |
Exact Message: [CODE="plain"]Error 1 error C3861: 'SHOWERROR': identifier not found[/CODE] My Includes: [CODE]#pragma once // Exclude rarely-used stuff from Windows headers #define WIN32_LEAN_AND_MEAN #define SAFE_RELEASE(x) if( x ) { (x)->Release(); (x) = NULL; } #define SAFE_DELETE(x) if( x ) { delete(x); (x) = NULL; } #define SAFE_DELETE_ARRAY(x) if( x ) … | |
Hello, here's the setup for the project. I have a WCF Service that is hosted on a net.tcp binding in buffered mode and ReliableSession enabled. The binding is configured to use TransportWithMessageCredential security. The certificate is a self signed certificate that I am identifying using the Thumbprint. The UserNameValidator is … | |
EDIT: Deleted the original question. After reading, I realised that I would have to paste so much additional code that it would take someone a couple of days just to understand what was happening in my own code that it may detract from the issue at hand. Problem: When I … |
The End.