April 2009 Entries

Time enjoyed wasting is not wasted time

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

«April»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789