Nat Luengnaruemitchai

Geek Blog

  Home  |   Contact  |   Syndication    |   Login
  100 Posts | 0 Stories | 300 Comments | 232 Trackbacks

News

Archives

Post Categories

Blogroll

Sunday, September 16, 2007 #

In Windows Forms application, we can use Control.IsInDesignMode or LicenseManager.UsageMode == LicenseUsageMode.Designtime to check whether your code is executing in DesignMode or not. You might wonder how would you do the same in WPF. Fortunately, Cider and Blend offers a similar functionality. You can test the following condition DesignerProperties.GetIsInDesignMode(new DependencyObject()).
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

ClickOnce deployment has problem with Proxy that requires authentication. You might get the following error:

(407) Proxy Authentication Required

If so, you would need to get a hotfix at http://support.microsoft.com/kb/917952/en-us.

For more detail, you can check out at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=294738&SiteID=1

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

If you try to run any XBAP application on the machine that has ISS Proventia Buffer Overflow Protection (vpatch.exe) installed, you might experience COMException with HRESULT 0xFFFFFFFF. The workaround is to stop vpatch.exe. I hope Microsoft and ISS work together to fix this issue.

 

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

If you experience bad handle leaks in svchost.exe process like I did, what happened was a bug in a dll that leaks handles when you have some antivirus software installed. It might worth to get a hotfix from Microsoft. It is detailed at KB892489.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati