Geeks With Blogs
HanSolo code monkey April 2009 Entries
Time enjoyed wasting is not wasted time

Posted On Wednesday, April 29, 2009 9:18 PM

Expect: 100-continue Header Problem
Here is a way for you to disable the Expect: 100-continue Header: string url = "http://www.myurl.com"; ServicePoint sp = ServicePointManager.FindSer... Uri(url)); sp.Expect100Continue = false; I was getting a 500 http error when I tried to send a post to a Java web service through .Net using HttpWebRequest. Turning off this header did the trick. This will work even if you are using the WebClient class, which goes through HttpWebRequest under the covers. Hope this helps someone, this is ......

Posted On Tuesday, April 28, 2009 11:13 PM

Sending key presses to applications
I was working on an UI automation project recently and I had to submit key press messages to a windows forms application. I was looking at ways of writing code to make that possible, but then I found that you can actually just call SendKeys.Send() to send any key press message to the active form. Who knew it could be so easy. http://msdn.microsoft.com/e... ......

Posted On Saturday, April 18, 2009 2:38 PM

Microsoft test vouchers
I just found out that I can't use the 15% off voucher and the second shot offer voucher on the same MCTS certification test. That's really lame Microsoft.

Posted On Sunday, April 5, 2009 10:58 PM

Copyright © HanSolo | Powered by: GeeksWithBlogs.net