Thursday, August 07, 2008

If your installing SQL Server 2008 on a box that already has Visual Studio 20008 pre SP1, you need to apply VS 2008 SP1 before installing.  If not, you'll get this message:

VS 2008 SP1 should be available in a few days.

Thanks to Andrew Brust for pointing this out.

Thursday, August 07, 2008 6:14:29 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Wednesday, August 06, 2008

Microsoft has released SQL Server 2008 today!  MSDN subscribers can download it right now.

http://www.microsoft.com/presspass/press/2008/aug08/08-06SQLServer2008PR.mspx

I wonder if the .NET Framework 3.5 SP1 is included  ;-)

 

 

Wednesday, August 06, 2008 2:42:53 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Monday, August 04, 2008

Here's a nice Office 2007 add-in that let you insert in your Word, Excel and PowerPoint document a Creative Commons license like the ones found here: http://creativecommons.org/about/license/

While not a DRM, it simply states how you'd like other people use your work like slides from a presentation you made at a user group meeting.

The add-in creates a new tab where you can create a set of licenses and add them easily to your documents.

 

Download the add-in here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=D1DDBDC8-627F-415A-9B0A-97362BC9B480&displaylang=en

 

Monday, August 04, 2008 8:00:42 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

Rob Boucher just informed me that the Patterns & Practices group has just released "Improving Web Services Security: Scenarios and Implementation Guidance for WCF", a free eBook available here:
http://www.codeplex.com/WCFSecurityGuide

WCFSecurityGuideReleased.jpg

If you read it, make sure to send some comments to the team.  Here's how:
http://www.codeplex.com/WCFSecurityGuide/Wiki/View.aspx?title=WCFSecurityCustomerQuestionaire&referringTitle=Home

 

Monday, August 04, 2008 7:45:15 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

I use offline folders in Vista to sync a set of folders located on my server so I can use the files when I'm not connected to my network.  What's great is that these folders are part of a nightly backup plan so I don't have to worry about backing them from my laptop.

However, if the computer you sync with is no longer available, you can't delete or change the sync partnership because Vista requires that both sides are up and running.  Dead end?  No, because you can delete ALL sync partnerships using a registry change.

WARNING: This will delete ALL sync partnerships so be careful because you may delete files forever, bring deadly plagues to the earth, render your dog blind, get your hair on fire, etc.  Don't do this unless you backup your sync folders, send flowers to your mother, give to United Way and learn to dance the salsa.  You've been warned!

From KB article 934160

quote.png
To work around this issue, add the FormatDatabase registry entry to the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters

Then, set the FormatDatabase registry entry to 1.

To do this, follow these steps:

1. Click StartStart button, type regedit in the Start Search box, and then click regedit in the Programs list.

 User Account Control permission
				If you are prompted for an administrator password or confirmation, type your password or click Continue.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters
Note If the Parameters subkey does not exist, create it. To do this, follow these steps:
a. Click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc
b. On the Edit menu, point to New, and then click Key.
c. Type Parameters, and then press ENTER.
3. On the Edit menu, point to New, and then click DWORD Value.
4. Type FormatDatabase, and then press ENTER.
5. On the Edit menu, click Modify.
6. Type 1 in the Value data box, and then click OK.
7. Exit Registry Editor, and then restart the computer.

unquote.png

Credit: for the answer here

After doing this I found another way to delete or rename cached folders while working offline via a Windows hotfix.

Monday, August 04, 2008 6:16:48 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Friday, August 01, 2008

Are you traveling to (or back) the US with laptops, hard drives, flash drives, cellphones, iPods?  Well, read this:

http://www.washingtonpost.com/wp-dyn/content/article/2008/08/01/AR2008080103030.html

Friday, August 01, 2008 11:41:01 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Thursday, July 31, 2008

I recently wanted to upgrade the BIOS on one of my PCs and I used the ASUS BIOS update Windows utility. 

I downloaded the latest BIOS and update tool from the ASUS Website then launched the update process.  After a few seconds, the tool reported an error so I tried to flash the previous BIOS version (that I saved earlier) but with the same result.  I ended up bricking the motherboard.  I then went to my local MicroBytes store and the first question the technician asked me was if I did the update from Windows.  Looks like it's very common problem using the ASUS Windows tool.  Yeah, great!

ASUS_BIOS_Bart.jpg

 

Thursday, July 31, 2008 11:25:44 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

If you were thinking about sending sessions abstracts fro DevTeach 2008 Montreal, hurry!  The cut off is today!

More info here:
http://www.devteach.com/TechChair.aspx

Thursday, July 31, 2008 5:59:31 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Tuesday, July 29, 2008

I just upgraded from dasBlog 1.9.7 to the latest version (2.1) and everything seams to work fine.  Here's how I did it:

  1. Downloaded the latest version from www.codeplex.com/dasblog
  2. Extracted the Zip file to a temp directory
  3. Copied everything over the existing folder except these sub folders: Content, SiteConfig, Logs & Themes

That's it!

 

Tuesday, July 29, 2008 6:08:51 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Wednesday, July 23, 2008

The problem
You have SQL Servers for each of your environments (development, test, pre-prod, production) and in each one, the table names are different.  In fact, it’s not the table names that are different but the schema names but since the schema name is part of the table name, it must be specified.
Ex : dev.ZeTable et prod.ZeTable

Easy to solve, right?  Just put the schema value in the config file and do a simple concatenation at runtime.  Well, it’s not as easy as it seams because the table name is stored in an attribute of the partial class generated by the LINQ to SQL designer and Microsoft didn’t provide a way or method to change it at runtime.

[Table(Name="dev.ZeTable")]
public partial class TheTable

Solution
The solution is to dynamically load at runtime a mapping specific for each environment.  Here’s how to do it:

Initial Mapping
Use the LINQ to SQL designer to create the initial mapping.  The .dbml file will act as the starting point for our specialized mappings.

SqlMetal
Next, use the SqlMetal.exe tool to generate a mapping file but instead of pointing the tool to the database and redo all our customization in XML, the trick is to point it to the .dbml file we created earlier using the LINQ to SQL designer.  This way, all our initial customizations are preserved.  Nice!

From the Visual Studio 2008 Command Prompt, invoque SqlMetal like this :
C:\>SqlMetal /map:"MyApp.PROD.map" "C:\Visual Studio 2008\Projects\MyDataClasses.dbml" /code:"test.cs"
Microsoft (R) Database Mapping Generator 2008 version 1.00.21022
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

SqlMetal.exe will generate a C# or VB class.  We won’t use it so you can delete it. 

Next, open the mapping file and change the name of the tables to reflect the right schema:
<Table Name="prod.ZeTable" Member="TheTables">

A good practice might be to include the schema name in the mapping file name:
Ex : MyApp.PROD.map

DataContext
Next, we need to dynamically load the mappings at runtime by specifying a connection string and the mapping info in the DataContext constructor.  The Microsoft’s documentation is located here :
http://msdn.microsoft.com/en-us/library/bb534562.aspx

You can store that info in the config file and load it dynamically:
  <appSettings>
    <add key="MyAppConnectionString" value=" MyAppDev" />
    <add key="MyAppLinqMappings" value="c:\MyApp.DEV.map" />
  </appSettings>
  <connectionStrings>
    <add name="MyAppDev"
      connectionString="Data Source=MyDevServer;Initial Catalog=MyDatabase;Integrated Security=True" providerName="System.Data.SqlClient" />
  </connectionStrings>

//Read the ConnectionStrings from the config file
TheConnectionString = ConfigurationManager.ConnectionStrings[ConfigurationManager.AppSettings.Get("MyAppConnectionString")].ConnectionString;

//Read the LINQ mapping and store it in memory
System.Data.Linq.Mapping.XmlMappingSource TheLinqMappings = System.Data.Linq.Mapping.XmlMappingSource.FromReader(XmlReader.Create(ConfigurationManager.AppSettings.Get("MyAppnLinqMappings")));

Next, feed the DataContext’s constructor :

TheDataClassesDataContext ctx = new TheDataClassesDataContext(TheConnectionString, TheLinqMappings)
That's it!

Wednesday, July 23, 2008 3:04:03 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

I was looking to replace my old wireless presentation remote (PowerPoint clicker) so I asked presenter extraordinaire and PowerPoint guru Etienne "E.T." Tremblay for a recommendation.  He said that the best device on the market is the Logitech 2.4 GHz Cordless Presenter so I quickly ordered one from TigerDirect to use it for my talks in Paris.

Verdict: 2 thumbs up!

Here are a few features that I like:

  • No drivers
  • 50’ range
  • Responsive
  • The receiver is stored in the device
  • 5 minutes increment timer
  • Vibrates at T -10 minutes and when timer reaches 0
  • Not cluttered with dozen of buttons and features
  • Feels “right” in the hand with the buttons placed at the right place

http://www.logitech.com/index.cfm/notebook_products/presenters/devices/175&cl=us,en

 

Wednesday, July 23, 2008 6:15:45 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Tuesday, July 22, 2008

While in Paris for speaking at the Université du SI conference, Mario Cardinal and I went podcast crazy.  During the week, we recorded 8 podcasts with French MVPs and even a bonus one with a French software engineer working for Microsoft Ireland. 

GUILLAUME BELMAS, MVP Team System, Exakis
CLERET ARNAUD, MVP BizTalk, Exakis
GREGORY RENARD Regional Director & MVP ASP.NET, Wygwam
ERIC GROISE, Octo
MATTHIEU MEZIL, MVP C#, Winwise
FLORENT SANTIN, MVP Team System, Winwise
MICHEL PERFETTI, MVP C#, Winwise
FABRICE MARGUERIE, MVP C#, Metasapiens, author of Linq in Action
VINCENT VERGONJEANNE, Microsoft Ireland

The first one is already online.  Check for the others throughout the fall.
http://www.visualstudiotalkshow.com

BTW, a big Merci Beaucoup to each one of you.

 

Tuesday, July 22, 2008 8:25:14 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

I was planning to get a Zune 80GB when I saw that Microsoft is offering free engraving (+ shipping) thru September 15th.  Being a Kraftwerk fan, I couldn't resist ordering this design:

http://zuneoriginals.net

 

Tuesday, July 22, 2008 7:59:48 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

Accueil

Eric Groise: L’avenir est aux technologies vectorielles

Nous discutons avec Eric Groise qu'il est temps de quitter le Win32, le monde des boutons et fenêtres carrés ou il y a trop de texte et pas assez de visuel. Mort au « bitmap » et vive le vectoriel.

Eric Groise est spécialisé sur les problématiques liées à l’utilisabilité des interfaces homme machine . Depuis plus de 10 ans, Eric aide les équipes de développement à améliorer les applications qu’ils produisent : architecture, technologies et interface homme machine. Convaincu qu’il reste un grand chemin à parcourir avant que les applications en entreprises atteignent l’ergonomie des applications Apple, il s’occupe du centre de compétence GUI d’OCTO Technology. Eric fut également Microsoft Regional Director pour avoir été parmi les premiers à supporter activement la plateforme .NET de laquelle il est toujours un fervent admirateur.

Télécharger l'émission

Si vous désirez un accès direct au fichier audio en format MP3 ou Windows Media (WMA), nous vous invitons à télécharger le fichier en utilisant un des boutons ci-dessous.

         

Si vous désirez utiliser le feed RSS pour télécharger l'émission, nous vous invitons à vous abonnez en utilisant le bouton ci-dessous.

Si vous désirez utiliser le répertoire iTunes Podcast pour télécharger l'émission, nous vous encourageons à vous abonnez en utilisant le bouton ci-dessous.

Tuesday, July 22, 2008 6:10:32 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

Anyone interested in the business of social networking Websites should take a look at Technology Review Magazine's August issue.  It's a special issue about social networking and the future of the Web.  Being published by the MIT, you would expect more then just a list of cool social network sites à la PC World.  Well, the magazine deliver the goods.  Not only you get a good assessment of the current situation, you get to understand the business of it (or lack of).  They also explain what Facebook runs on.

BTW, you don't have to rush to your newsstand to get a copy because you can read it online for free.

So, will it burst?

Tuesday, July 22, 2008 6:08:48 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Sunday, July 20, 2008

The first ALT.NET Canadian conference will take place on August 15-17 2008 in Calgary.

Check all the details here:
http://www.altnetconfcanada.com/home/index.castle

Sunday, July 20, 2008 7:37:14 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Monday, June 23, 2008

It's been a while since I had to use Fiddler with Cassini, the Web server included with Visual Studio.  Fiddler is a HTTP Debugging Proxy which logs all HTTP traffic between your computer and the Internet.  It is free and it is a must have tool.

However, to use it with Cassini, you must do one little simple thing: in the URL of your browser, you must add a dot (.) after localhost.  Something like http://localhost.:5555/Default.aspx
Notice
the dot: http://localhost.:5555/Default.aspx

Get Fiddler here: http://www.fiddlertool.com

Monday, June 23, 2008 6:13:26 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 
Wednesday, May 28, 2008

I'm a fan of Cliff Atkinson's book Beyond Bullet Points and in my presentations, I tried to use bullet points to a minimum.  What? PowerPoint presentations without bullet points?  Intrigued?  Cliff is doing a free Webcast for Microsoft on Thursday June 12th.

quote.png
Microsoft Office System Webcast: How to Create a 15-Minute Presentation (with Graphics!) in One Hour (Level 300)

If you are in a time crunch and have to get a presentation done, you need an approach that will get you results quickly. Join us for this advanced-level webcast with bestselling author Cliff Atkinson, and learn the tips and tricks you need to complete a Microsoft Office PowerPoint 2007 presentation in record time. As the clock ticks down from 60 to zero minutes, see how you can use Cliff's book Beyond Bullet Points (Microsoft Press, 2007) to structure your story, identify your key points, and create the slides you need to get amazing results.

Presenter: Cliff Atkinson, Communications Consultant and Author, BBP Media, LLC

Cliff Atkinson is a leading authority on improving communications across organizations. He is a popular keynote speaker, writer, and independent management consultant for leading attorneys and companies ranking in the top five of the Fortune 500. He is president of Sociable Media in Los Angeles, teaches at the University of California, Los Angeles (UCLA) Extension, is a senior contributor for the MarketingProfs newsletter, and writes the blog Beyond Bullets. Cliff is also the author of Beyond Bullet Points: Using Microsoft PowerPoint to Create Presentations That Inform, Motivate, and Inspire (Microsoft Press, 2005).
unquote.png

Register for the Webcast here:
http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032378660&EventCategory=4&culture=en-US&CountryCode=US

Bbp_cover_200

Wednesday, May 28, 2008 8:39:26 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

I have been using ZoomIt for a while now.  It's a great and free presenter tool that let you zoom on screen areas while demoing stuff but there's a new pretender to the throne: NLarge.  What's so different about NLarge?  Well, it provides you with the same features as ZoomIt and it's also free but it's using WPF for smooth zoom effects.  Cool!

Wednesday, May 28, 2008 8:14:44 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

Registration for PDC 2008 is now open:
http://www.microsoftpdc.com/

PDC2008.jpg

Wednesday, May 28, 2008 11:22:58 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0]  | 

Theme design by Jelle Druyts