Geeks With Blogs

Nat Luengnaruemitchai Geek Blog October 2009 Entries
Peril of FileMode.OpenOrCreate
Many people use .NET framework library without reading documentation. Sometimes, it just like taking medicine without reading its label. Today, I found that there is a piece of code trying to read AssemblyInfo.cs and change the version of the .NET assembly based on the input. The code seems to work quite well for most of the files except for certain files. In each of those files, there is an extra "]" at the end. It took a while to see that it's using FileMode.OpenOrCreate instead of FileMode.Create. ......

Posted On Friday, October 23, 2009 11:00 PM

Java Plugin Problem with Google Chrome
I have been fiddled with Java Plugin on Google Chrome for a while but having a problem getting it to work even though I follow the steps on many websites. I finally tracked down the issue. It seems that Google Chrome searches for installed JRE plugin by querying HKLM/SOFTWARE/JavaSoft/Java Runtime Environment/BrowserJavaVersion If the value in there refers to the version older than 1.6.0_10, it will not work. To fix it, you need to install JRE with version 1.6.0_10 or later then modify this registry ......

Posted On Tuesday, October 6, 2009 7:04 PM

Copyright © Nat Luengnaruemitchai | Powered by: