Nat Luengnaruemitchai

Geek Blog

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

News

Archives

Post Categories

Blogroll

September 2007 Entries

Yesterday, I had a problem where I need to hook up an event to a certain data condition. I first thought about EventTrigger. However, it does the other way around. This class is responsible for convert event into trigger. So I digged around WPF architecture to see what I can do and bingo. I found that I can create an attached property with the following construct and then in XAML, you can register for this event by <TextBox Text="Try me"> <TextBox.Style> <Style TargetType="{x:Type...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Andrew Flick announced that Infragistics WPF Express Edition will be free as well. Before this release, xamDataGrid suffered a lot of performance problem. It seems that they have fixed various performance problem. So I think I will give it a try again later. To try it out visit http://blogs.infragistics.c... for more information
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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.GetIsInD... 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.co... For more detail, you can check out at http://forums.microsoft.com...
  • 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