Someone is gonna be fired!

2 03 2010

Maybe you know that on February 28 and March 1, all Phat PS3 were render useless because an internal clock bug that recognized 2010 as a leap year.  If not, read here: http://www.nytimes.com/2010/03/02/technology/02sony.html

However, all Slim consoles remained free of this glitch. Cool, they new version is “superior” than previous one.

Phat fails, Slims doesn’t.

Wait a sec. This means someone fixed the issue (the leap year one) and didn’t say anything about it? This is a very specific glitch, isn’t a one you can fix indirectly by repairing other functionality. He or she (the Damned One) known about this problem and didn’t raised the flag to warn about! I don’t wanna be in his or her shoes right know. Look a place to hide, quickly!





Anders Hejlsberg heard my prayers!

30 10 2008

See http://codebeat.wordpress.com/2008/06/23/almost-missed/

 

No more missings!

No more missings!





How To: Leave a funky placeholder in the MSDN Documentation

8 09 2008

Take a look to this MSDN page! I already reported the “blah blah” placeholder.

MSDN Blah Blah Placeholder

MSDN Blah Blah Placeholder





Using Linq in .NET 3.0

23 06 2008

Yesterday I faced an issue: I needed to host an .NET 3.5 application in a .NET 3.0 web server, because the .NET 3.5 web server wasn’t available at time. The application was built using Linq to Sql instead of “traditional” CRUD classes. So I had no choice, but make the app run.

Well, a workaround is to make a local copy of the referenced assemblies; in my case, System.Data.Linq.dll and System.Core.dll.

  1. First, configure the target framework of the projects using Linq to .NET 3.0. The .NET 3.5 references will be removed.
  2. Then, copy System.Data.Linq.dll and System.Core.dll in the solution, wherever you prefer (in my case, the root folder).
  3. Add them as references in all the corresponding projects. Visual Studio will warn about the assemblies need a later version of the framework. Press Yes.
  4. Set the SpecificVersion property of the references to true. This will prevent compiling errors.
  5. Compile.
  6. Run the app!

Download Example Code Using Sql Server Express

Download Example Code Using Just Linq





Almost Missed

23 06 2008
Microsoft.Office.Interop.Word.Document openDocument = wordApplication.Documents.Open(
    ref path,
    ref missing, ref missing, ref missing, ref missing,
    ref missing, ref missing, ref missing, ref missing,
    ref missing, ref missing, ref missing, ref missing,
    ref missing, ref missing, ref missing);





Dummy 1, 2, …, n

23 06 2008

Expect more “dummy” members in future releases of the Microsoft Office Word 2007 PIA ApplicationClass! Is a shame they aren’t documented.








Follow

Get every new post delivered to your Inbox.