So I have a WCF service that runs, and sometimes I want to call to the server asynchronously.
Basically I follow the Begin/End outline to do the call. WCF takes care of a asynchronous call when I do this, which means I'm not struck with any 'timeouts' if the service takes a while, it just...
Ok, I'm not well versed in the System.IO namespace, and I don't know if there are class types elsewhere that may serve my purpose.
But I need two special things...
a MemoryStream or StreamWriter that treats the stream as a fixed line length. So that when a new line is written to it, the...
So you know how when you call "Form.ShowDialog" from where ever you call it, it blocks until the form being displayed closes. And then the function returns whatever result it was.
I want to know how to block like, but without a form, yet still have the "main ui thread".
Basically I have this...
Does anyone know if there is a syntax for XPath that supports "possible attribute".
Basically I want a XPath that tests for two attributes of a node equal to some value. BUT if one of those attributes doesn't exist it ignores testing that attribute and considers itself successful.
Say I have...
I'm writing my own parsing method to parse a String to a double. I have a lot of requirements of this parsing method, so none of the existing parsing methods actually work.
Here are the requirements:
Like TryParse, on most failures we should return 0. Things like stack overflow and the sort...
So I need a format string to pass to String.Format that would "move" the decimal point.
I can't perform any math operations before doing the String.Format, so it has to work right off the bat.
Basically I'm emulating a formatting string from a proprietary server. In it if I say:
"MR2"
for...
I'm using Visual Studio 2008 writing a Windows Forms project and I'd like to know a way to step around 'default instances' of forms.
I don't like default instances, they constantly get in my way, and working in a team it's causing some really annoying confusion about the object identity of...
So I'm writing a WCF service right now and all is not well when dealing with a specific scenario pertaining to strings.
Now the service I am writing syncs with a database that uses some strange characters to store multi dimensional data.
Most notably
Chr(255)
Chr(254)
Chr(253)
these...
So say I define some interface, and that interface has members that need to be implemented under some idea, and I then implement this interface on a class that already has those members defined. How do I NOT receive errors about having to implement said members despite them already being...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.