/images/myAvatar200.png

Extract extra large icon from a file, folder or drive

Extracting system icons from Win32 Overwiew Hi, everyone! :) In a recent project I was required to show a list of files with their associated icons. It doesn’t sounds quite difficult, and in fact it is not. Except if you have to deal with files in network paths or you want to get different icons sizes, apart the typical 32×32. And well, that was the case If you only need local files and sizes of 32x32 píxels you can achieve this using the static method ExtractAssociatedIcon in the class System.

MVP site interview

My 5 minutes of glory 😂 Yesterday the guys of MS published my brief interview MVP site. However, it is not the full version, that I copy here. About Lluís Franco Born in Barcelona (Spain) with more than 20 years of experience in the software development sector, now lives in Andorra for the past 15 years with his family. Lluis holds a number of Microsoft official certifications such as MCP and MCTS and has been recognized as MVP for the past 10 years due to his active participation and moderation in the MSDN forums since 1997.

Awarded MVP of the year

WoWoWo :O Surprised. Puzzled. Amazed. These are the words that define better my current feelings. However, while writing these lines I’m just realizing I have a blissful smile, or maybe just a stupid smile. Why? Because I just received an email from Lisa Feigenbaum (Microsoft Community Program Manager) with this message: “Congratulations on being awarded C# MVP of the Year based on your contributions in 2011!” That’s amazing, and sincerely, totally unexpected

Functional Programming For The Rest of Us

Introduction Programmers are procrastinators. Get in, get some coffee, check the mailbox, read the RSS feeds, read the news, check out latest articles on techie websites, browse through political discussions on the designated sections of the programming forums. Rinse and repeat to make sure nothing is missed. Go to lunch. Come back, stare at the IDE for a few minutes. Check the mailbox. Get some coffee. Before you know it, the day is over.

Macbook Pro - Series 3400 series chipset problems?

The issue After a long time… here we go again! Today a quick post, just a note: If you bought a MacBook Pro and using Boot Camp for running Windows, you may be possible experiment some chipset problems. In my particular case with USB and bluetooth devices (Wireless Notebook Presenter 8000), and a couple of window-freezed. Also, in some ocasions Windows threw an error: “Intel 5 Series/3400 Series Chipset Family USB Universal Host Controller – 3B3B (and 3B36) has a driver problem”.

Check if current user is domain administrator

The scenario In business applications it’s very common checking if the current user is member of the ‘domain administrators’ role of your company. For example, recently I had to check if the current user has administrative privileges in order to show some advanced configuration options. IsInRole To acomplish this we could use the IsInRole method from the WindowsPrincipal class. This method checks if an user is member of a Windows role and returns a bool value.