Room of a pleinolijf

Ask yourself this: how do I want to be remembered ?

Leave a comment

Suppress Compiler Warnings in Visual Studio

Just a quick post to put this out there.  Chances are you already know of this, but I can imagine far from everybody does.


When building a project or solution, Visual Studio will report on what’s happening in the Output window.  (By the way, you can control the verbosity of said window in the Tools – Options… – Projects and Solutions – Build and Run screen.  And the first thing I do on a new system configuration, is enable the ‘Show Output window when build starts’ option in the screen before that.)  It will print informational lines of text, but also, and more importantly, warnings and errors while compiling.

Obviously, your attention should be focused on the errors, as they will likely prevent you from running your application.  Call it neurotical behaviour, but I always aim to have an as clear Output window as I can, so the warnings receive equal attention from me (although not as diligently of course).

But sometimes warnings will keep being generated by Visual Studio, even though you intentionally wrote the code the way you did.  An example can be fields that are declared and assigned, but only used in a

#if (!DEBUG)

statement, like a bunch of license key registrations meant for production.



To keep the warnings from always popping up in the Output window when building, use the #pragma preprocessor directive.

#pragma warning disable 414, 3021

You can get the warning numbers by building  your code. If you can’t or won’t, you can also wrap the code in question in a

#pragma warning disable


#pragma warning restore

‘block’. This will disable all warnings in between, so use with caution !


PS: VSCommands by Squared Infinity is a great extension for VS that will color-code the lines in the output window to increase readability.  You can even define your own custom formatting.



Switching webmail from Google’s Gmail to Microsoft’s


Over at the Microsoft blog was announced a new tool that makes all of the above obsolete.  You can now make use of this built-in feature to import all your e-mail, contacts, folder structure and read/unread mail status.  Easy peasy !


As the (probably) final post in the series about switching online services from Google to Microsoft, this post describes what for many will be the most difficult migration / switch-over.  It sure was for me, as I have a very big e-mail archive that is meticulously organised with labels.

But I now had switched over my other services, so consistency demanded I did the same for my webmail.  Besides, I truly loved the minimal, modern UI of so much, I was even prepared to take some of the cons with it.

Personal cons of

  • Message filtering.  It is by far one of my biggest gripes with MS’s webmail.  It’s just too limited, as you cannot specify multiple filters per filter field.  In Gmail, you can put ‘OR’ between e-mail addresses to filter a whole list of senders for example.  Also, you are unable to assign more than one action to a filter, like applying a category (which is Gmail’s label, btw) AND moving the message to a different folder.
  • Advanced searching.  There’s no search criterium available to search within categories.  Since I don’t organise on folders, but on categories (allowing to tag a message more than once, instead of making a copy), this annoys me a lot.

Well, that’s it really, for me 🙂  Nothing that can’t be fixed in a humble update.
YMMV (Your Mileage May Vary).

So how would you go about switching webmail accounts ?

To begin with, or even if you just want to try out, without giving up any part of Gmail, you can configure Gmail to forward any incoming message to your new account.  There’s an option to keep forwarded messages, which effectively gives you a mirrored inbox; one on Google’s interpretation of webmail, one on Microsoft’s vision.  This is an excellent way to compare the two services side-by-side, should you be in doubt.  As a word of advice, it might be a good idea to run this forwarded mode for a couple of days or weeks, in order for you to really get to grips with the new webmail interface.  It will take time to notice certain stuff (like message filtering, contact integration, etc.).  Another bonus is that you now have a free backup of any new e-mail 🙂


Next, the big move.  I assume you want to migrate your old e-mail messages, and rightly so.  There is more than one way to accomplish this, or at least, there used to be.  You might have heard of a service called TrueSwitch, which promises to move all of your e-mails, contacts and agenda entries from Gmail to  I actually used this, because it provided the only way to retain any labelling: it created a folder for each label, so I could then place all messages in a folder under a category, and next archive those messages in a big ‘Archive’ folder.  Only drawback was that it apparently took only the first label (alphabetically?).  Oh, and it had troubles with foreign characters, like ‘è’.

But that option is now gone since a couple of weeks, as the service has shut down.

That leaves you with the other option: manual import/export.  It’s not as bad as it sounds, though, and as you will find loads of tutorials online for this, I won’t go into details.  The bottom line is: for the moment, does not support the IMAP protocol, so you can’t use just any desktop e-mail client (like Thunderbird) to set this up.  The best option is to use the Outlook desktop software which does support EAS (Exchange Active Sync).  There, you configure both your Gmail (using IMAP) and your (using EAS) inboxes.  Sync them completely (remember to check all folders, also ‘sent’).  Once your e-mail is downloaded, you can simply drag & drop your Gmail messages in the desired Outlook folders, and the e-mail client will sync everything on the go.  Once it’s done, you don’t have to use the client anymore if you don’t want to.

There is actually a third option, but that is only worth considering if either you don’t want to put in a lot of effort in the migration, or you only need a dump of your Gmail messages, without organisation., like the other webmail services, offers you the ability to download messages from another account via POP.  You could configure your Gmail account here, and would start downloading Gmail e-mails to your inbox.  Best is to set up a filter for these messages as to not flood your inbox (when I tried this, I let the downloaded messages land in a separate ‘@gmail’ folder).  Take note that this will take a very long time (possibly several weeks, depending on the size of your Gmail inbox), and you don’t really have any control or progress indication available, so the risk is there that you miss out on some messages.  Like I said, only an option if you don’t care that much about your e-mail archive.


It’s clear that the biggest hurdle – at least for me it was – is the organisation of your messages, as Gmail uses the label system only (no folders).  You should think through how important this is for you with regards to finding ancient mail.  Keyword search obviously will still work, but I have noticed that uses a ‘wider’ search.  You will find more, but it’s also more difficult if your keywords are generic.  So it actually might go either way for you in deciding you need your historical Gmail labels.

Finally, if you decide you like what Microsoft has cooked up, you can either delete your Google account (which is very straightforward), or play on the safe side, and simply put it in sleep mode.  That is, don’t use it anymore, and activate a permanent auto-reply (aka OutOfOffice).  Make sure to check the option ‘send reply only to people in your address book’; you don’t want to acknowledge spambots of your valid e-mail address.  This way, you inform your contacts that you now use an “[at]” address, without having to send out a huge spam mail yourself.


I already talked about migrating your contacts, and for now I still use Google’s Calendar.  Microsoft’s Calendar just simply isn’t up to Google’s level at the moment, and together with personal limitations (sharing of my wife’s personal and work calendar), this prevents me from switching just yet.  However, I’m sure Microsoft will address this, and once they do I am able to wave goodbye to that as well, truly unifying my online services once more…

Read my other posts about my online services switch from Google to Microsoft:

Moving address book from Google Contacts to Microsoft People
Moving photo albums from Picasaweb / Google+ Photos to SkyDrive
Switching personal cloud service from Google Drive to SkyDrive
Moving file hosting service from Dropbox to SkyDrive
How Google is slowly losing me as a client to Microsoft
Switching search engines from Google to DuckDuckGo


Moving address book from Google Contacts to Microsoft People

Moving your Google contacts to promises to be one of the easiest aspects of the whole Google to Microsoft migration.  Because when you link your Google account in your (Microsoft account) settings, you get a very decent view on all your Google contacts.

There is a caveat in this,  however.  Like the majority of switching users, one of the first things I did in my new (old) Microsoft account, was link my Google account.  This would ‘sync’ my contacts and calendar automatically, and without error might I add. BUT this also means you no longer have the option to physically import Google contacts, which in turn means that you must keep your Google account alive and kicking.  Furthermore, you won’t be able to edit/delete contact details unless you create an Outlook version for the contact in question (this part is handled very well in the People UI, fortunately).  This latter fact is logical because there is no 2-way synchronization between the two, but it is annoying that you can’t remove a contact that was ‘linked in’ by Google.  Some users report that even after deleting the contact over at Google, the contact still remains in your address book…

I created an Outlook version of most, if not all, of my combined contacts (beautifully merged from Google, Facebook, LinkedIn, Skype and Twitter), thinking that Outlook would sync the information on first creation.  This apparently happens partially, from what I can tell.  It would take over someone’s personal e-mail address, for example, but not his/hers work e-mail.  So very inconsistent behaviour here, making it impossible to determine what information I have at Outlook, and what information will be removed once I cut the Google link…

An option would be to temporarily remove your Google account link, and then manually import Google’s CSV file of contacts.  Microsoft’s People has a good merging tool, so any duplicates won’t be much work to resolve.  Still, I feel like ‘People’ could use a lot more polishing.  E.g. there is no way you can manually choose a contact’s picture, it will always be the picture of the (most popular?) social network you have linked.
As a matter of test, I imported three contacts from a Google CSV file (formatted for Outlook).  Two contacts were imported as expected, and merged perfectly, but the last contact was screwed up, creating a duplicate, but with a scrambled name (containing part of the CSV record), making me fear to bluntly import all of my contacts, as the merge tool won’t be able to detect this kind of duplicate.

So if you, like me, should wish to sever the connection between the two contact management systems, there is a risk that you lose some (or all, depending on your manual additions) information.  This leads me to hang on to my Google Contacts list for now, although I do my updates in MS’s People application.

In hindsight, I recommend not to link your Google account when you switch, but first use the option to import Google contacts.
I can see myself trying the option I suggested rather soon though: temporarily decoupling my Google account, hopefully then getting the “Import Google contacts” option and import them through the People interface.

Btw: that’s another thing that’s unclear to me.  Decoupling your Google account; will it have a big impact ?  Does this decouple only Google contacts (unlikely) ?

In any case, I don’t like having two address books, so one will have to go.  I just wish Microsoft would provide an option to ‘reset’ your address book, and import Google contacts, also after you already linked you accounts.

Update: I know myself all too well, it seems 🙂  Even before publishing this post, I just had to know, so I have tried to just bluntly import Google Contacts’ CSV file into my already filled up address book of People.  As expected, I got all duplicates, but that’s for the merge tool to worry about.  I can now confirm that the imported Outlook contact does have all fields filled out that you had in the Google version of the contact (well, at least the important ones, not sure about the more exotic Google-specific fields like ‘Relationship’).  So after merging, you can be sure to have a complete contact, and if you so desire, you can delete (or archive, to be on the safe side) all of your Google contacts.

One word of caution though: make sure you go over the duplicates confirmation screen, as some contacts might be mistakenly proposed for merger.  Especially when you don’t have an e-mail address of a contact, and his/her name resembles another contact strongly.  Also a certain false positive: two different people using the same e-mail address.  This happens more than you want, but keep an eye out for them.  Luckily, they are very visible in the list, as you normally would have two boxes (the imported Google contact created as a new Outlook contact, and your existing Outlook contact), whereas the false positives will have three, so they stand out very cleary if you scroll through the list quickly.


Read my other posts about my online services switch from Google to Microsoft:

Moving webmail from Gmail to
Moving photo albums from Picasaweb / Google+ Photos to SkyDrive
Switching personal cloud service from Google Drive to SkyDrive
Moving file hosting service from Dropbox to SkyDrive
How Google is slowly losing me as a client to Microsoft
Switching search engines from Google to DuckDuckGo


Moving photo albums from Picasaweb / Google+ Photos to SkyDrive

This is probably the first thing that sparked my decision to leave Google for some (or all) of my online services, which are webmail, contacts, calendar, online photos, personal cloud, file hosting, and to a lesser extent, my search engine of choice.  Click on any of the links at the bottom of this post to read about my transition of each of them.


I used to be a convinced Picasaweb user.  This was mostly due to -at the time- the very large amount of free storage, low costs for additional storage, and an online interface that was better than the competition.  I remember being impressed by the speed at which full-screen photos were loaded when you flicked through an album.  I also loved the integration of EXIF data and geographical location information (effectively creating a map of where you’ve been).

This was then coupled to the (still) excellent Picasa desktop software, originally developed by Idealab’s Lifescape, from where you could upload your photos.  However, the way you could decide which albums and photos to sync was confusing to me.  I couldn’t get it to work just how I wanted.  Either I synced all and only starred photos, or I could activate a ‘web sync’ feature which wasn’t very transparant.  Then there was the option to explicitly create an album in Picasa, which you could then sync to the cloud.  Anyway, it all wasn’t very intuitive, and I didn’t like it.  It always felt like something that was slapped together and added on top of it.  But apart from that, the Picasaweb service and Picasa software was excellent, while none of the competition came close.  Of course, it helped that I was living in the Google ecosystem.

But with the arrival of Google+, slowly but surely Picasaweb was being eaten alive by it.  Google first decided to use Picasaweb as the storage hub for photos in Google+.  Next, it mirrored all albums in it’s social network, leaving you with two places where your photos were.  Then, when Google upgraded it’s Contacts pictures to high resolution, each time I updated a contact’s picture, a separate album was created in my Picasaweb photo album collection !  I couldn’t for the life of me figure out what this was about, at one point thinking to blame my switch from an Android to a Windows Phone smartphone.  So I asked the Internet, but the Internet didn’t know, leaving me to come up with an explanation of my own.
Before finally axing Picasaweb as it existed, Google redirected everyone to Google+ Photos, with an option to return to classic Picasaweb.  This option is now gone, and the picasaweb subdomain sends you to Google+ Photos.  R.I.P.  Apparently, you can still access the Picasaweb interface by using the following URL:


So there you are.  If you want to host your pictures with your favourite service provider, Google, you have no choice but to host them in Google’s social network.  In effect, Google now no longer has an online photo album service.  “Sure it does”, I hear you say, “it’s just called Google+ Photos”.  Fair enough, but I want a decoupled photo storage service.  If I wanted that to exist inside a social network, I’d use Facebook.  But I don’t, so Google cannot help me with that any longer.

Funny thing is, or to put salt in the wound, around the same time, the pricing plans for extra storage were changed as well.  From $5/year to $10/month for exactly the same product.  I’ll leave the math to you, but I can tell you that it’s more expensive.

Since in the meantime, I had switched from an Android phone to a Windows Phone one, and there was the prospect of moving my personal cloud and my file hosting/sharing service to SkyDrive, what better candidate than the latter ?  SkyDrive now offered decent performance at an attractive price point ($10/year).  It integrated three services into one (file hosting/sharing, personal document cloud (with office online editor!), and online photo albums), and has a straightforward synchronization.  It just feels right.


TL;DR: Going about this migration or transfer is actually pretty easy thanks to the Dropbox-style functionality of SkyDrive.  You share a photo album online, by simply copying the pictures in a separate folder under your Skydrive\Pictures folder.  It’s obviously a bit more work, as you have to manually select files (unless you upload all your snaps unfiltered, then it’s easy).
The good thing is, if you had web sync enabled for your photo albums in Picasa, your local files will have synched any descriptions you might have put with the online photos.  Very helpful (thank you, Google) if you have a lot of travel photos for example, which you annotated with all the places etc. which you undoubtedly have forgotten by now.  Unfortunately, you do lose all comments of course, as this was a feature of Picasaweb, and can’t be saved in the image’s EXIF data.  For me personally that wasn’t an issue with only a handful of comments.


Read my other posts about my online services switch from Google to Microsoft:

Moving webmail from Gmail to
Moving address book from Google Contacts to Microsoft People
Switching personal cloud service from Google Drive to SkyDrive
Moving file hosting service from Dropbox to SkyDrive
How Google is slowly losing me as a client to Microsoft
Switching search engines from Google to DuckDuckGo


Protect your online privacy (updated)

If you haven’t yet heard of PRISM, here’s the gist.  The NSA (National Security Agency) of the United States of America has been watching everyone on the Internet in the USA, and asking (and getting!) collaboration from national governments all over the world in disclosing private information about your person.  Those are clear violations of our basic rights to freedom and privacy.

In light of the recent PRISM reveal, there are several things you can do to help safeguard a free and open Internet.  First off, go and sign this petition:

Next up, a good idea is to have an overview of what information you publish on the big, bad interwebz. Personally, I use MyPermissions, which gives you an overview of which services see which information about you.  Very helpful if you, like me, try out many new services and sites on the web, which you may stop using after a while.

Finally, there is this web site that offers a list of privacy-safe alternatives to all sorts of popular online services and applications. 

How brilliant is that name ? PRETTY FF-ING BRILLIANT, THAT’S HOW.

Now go and protect yourself !   Go !  Shoo !



Update 20 Aug. 2013: Now this is unexpected.  Some two weeks after this post was published, I received an e-mail from a certain Mr. Sheldon Whitehouse, a US Senator.  After verifying it wasn’t a spam message, it appears to be in response to this post.  I wouldn’t know why else he (or his secretary) would send me the following message.


What’s a bit annoying, is the part where I put the second marking.  It contains my street address.  The most recent one, even, since we moved house last year.  To my knowledge, the only place I put my home address is on Facebook, where I mark it private to everyone except my close friends.  That is it.  I don’t think you will find it online if you are not connected to me directly.  It is not listed in the national phone book directory, nor do I provide it to any website, except online shops, for obvious reasons.

It’s funny then, that I receive this e-mail from a political figure, in the USA, unsollicited, talking about respect for people’s (online) privacy, while at the same time my private home address is disclosed in it.

I sent a reply today asking for an explanation.  Let’s see if it’s the typical, patronizing political communication, or if Mr. Whitehouse is a sincere man working for and close to the people like he should.

To be continued ?


Switching personal cloud service from Google Drive to SkyDrive

In this next post in the Google to Microsoft series, I will talk about my migration of Google Drive files to Microsoft SkyDrive, or whatever it will be called in the future.

Having decided to move both my online photo albums and my Dropbox files over to SkyDrive, it made sense to also migrate my Google Drive documents.  These are documents that I want available anywhere: on my desktop pc, my tablet, my smartphone, and on any computer I have Internet access to, so I can work on them from no matter where on no matter what device.  Some of these documents I want to share with certain people, so they can view and/or edit them.
This one is a bit trickier though, because there are some differences between the two services.  Not in the way my documents are hosted and shared (they are more or less equal), but with regards to features and speed.  I’ll try to list some things from the top of my head here:

  • Speed.  At the time of writing, Google is definitely #1.  Loading documents and working on them is just snappier.
  • Versioning.  Google & Microsoft both offer a versioning system, but I feel that the way Google presents this in the interface is clearer and easier.
  • Collaboration.  I haven’t tested real-time collaboration on SkyDrive, but I know from experience Google does this really well, to the extent of showing where the other user’s cursor is.  In any case, it’s not a deal-breaker for me, but versioning is.
  • Online editing.  This is two-fold, as Microsoft gives you the option to edit the document in the desktop version of the office program in question, like Excel 2013.  This is a huge plus, as you get the speed, and every feature you can think of.  It’s too bad then, that the Excel Web App doesn’t offer simple things like conditional formatting, while Google’s online editor does.  But I’m convinced MS will implement this in the near future, and you can of course apply conditional formatting if you edit in the desktop version of Excel (the web app will render it correctly, but you won’t be able to change or create it).  The Excel Web App also has a limitation on how it works on summing time units, as it is limited to 48 hours.  That’s a shame, because I manage my work timesheets online.
  • Compatibility.  Both offer the option to save a document as pdf, and both can read all the common office formats.
  • Integration.  Surprisingly maybe, this one goes to Microsoft in my book.  Mainly because you have one service that incorporates online photo albums, smartphone photo synchronization, private documents, file sharing, and notes.  With Google, you’d have to keep switching between Google+ Photos, Google Drive and maybe a service like Evernote.  It won’t feel uniform at all, as Google Drive doesn’t even look the same as Google+ (Photos).  Google has some sort of note taking application in the form of Google Keep, but it doesn’t seem very advanced, even though it is somewhat integrated in Drive.  And how will all of this be presented on your mobile device, be it smartphone or tablet ?  Like I said before, the photo thing in itself was reason enough for me to switch.
  • Drawing.  Ah, nearly forgot this one.  If you’re into creating maps, diagrams, drawings, sketches, etc. you might not want to switch just yet.  Google has a relatively simple, but great drawing editor.  I used it only twice to draw up a network topography, but it does its job brilliantly (simple and fast), while Microsoft doesn’t really have an alternative.  On SkyDrive, you’ll have to resort to PowerPoint or WordArt, which while it will help get you to your design goal, is cumbersome to use.
  • Presentations.  I haven’t used either Google Drive Presentations or SkyDrive’s PowerPoint, so I’ll have to come up empty on this comparison.

All in all, I feel that Microsoft will (and will have to) add more features to its online Word and Excel Web App editors.  I’m confident they will, as they basically only recently launched this (proper) version of SkyDrive, and they are already on-par with Google’s Drive.  It’s the little things that will finish the job, along with a slight performance upgrade.

Although the above now is a proper A vs B article, I didn’t really want it to write it that way, but it might help some of you that are pondering the switch.

So anyway, I now wanted to move my files over from Drive to SkyDrive.  That’s really easy, in fact.  Google has an option that will export each and every file on your Drive to a corresponding Office format (be it MS Office or Open Office) and stuff it in a zip archive.  I can tell you that this is pretty reliable, although you might want to check any spreadsheets that are somewhat complex, as sometimes the layout gets changed a little bit.  Nothing catastrophic, fortunately, so you won’t have too much work.  After you unzip all your documents, simply move them to your SkyDrive folder for upload, et voilà.
As an alternative, but I haven’t tried this out myself, you could in theory install both desktop clients, and copy your Google Drive files to your SkyDrive folder.


Read my other posts about my online services switch from Google to Microsoft:

Moving webmail from Gmail to
Moving address book from Google Contacts to Microsoft People
Moving photo albums from Picasaweb / Google+ Photos to SkyDrive
Moving file hosting service from Dropbox to SkyDrive
How Google is slowly losing me as a client to Microsoft
Switching search engines from Google to DuckDuckGo


Moving file hosting service from Dropbox to SkyDrive

Ever since I changed phones from an Android smartphone to one that runs on Windows Phone 8, and I took a better look at Microsoft’s services offering, I am beginning to lean to MS’s side of the game.
Google’s online photo service was never truly fantastic (even though it was very decent, and at the time the very best out there), and I really dislike the path they have chosen for the future of the service.  Microsoft on the other hand, has (only recently) done a sterling job on their SkyDrive service.  They understand what I want (this time around anyway).


So once my decision to move my online pictures from Picasaweb / Google+ Photos to Microsoft’s SkyDrive service, it was kind of a given for me to also cancel my Dropbox account.  This would consolidate two separate services (Picasaweb and Dropbox, along with the Dropbox client software) into one handy service.  This is not because I was disappointed in Dropbox in any way, let me be clear.  The SkyDrive client software and principle is quasi the same as Dropbox’s, and I wouldn’t say either one is superior.  But it’s a bit silly to have two service providers, two credentials, two storage plans, two software clients, etc. while  you can have only one.

A big difference though is the pricing.  At Dropbox you get 2GB for free, and you can easily expand that to 3GB by doing some simple stuff like tweeting about it.  SkyDrive, on the other hand, offers 7GB out of the box.  If you want more storage (as you would if you want to publish many photo albums in original format + some videos), you pay around $100/year for 100GB at Dropbox, while SkyDrive would cost you only around $40/year.  Plus there’s the option to choose something in between. The sweet spot for me at the moment is the 20GB plan for only $10/year !  Which is about the same pricing Google used for their Drive service ($5/year) before they decided they need more money from it, and changed it to $10 a MONTH for new subscriptions. Even though I could remain on my original plan, raising your price more than twentyfold ticks me off.

Dropbox -> SkyDrive

Dropbox -> SkyDrive

Switching from Dropbox to SkyDrive is about the easiest service provider switch you can make. With both client software packages installed (download from here and here), simply copy or move the contents of your physical Dropbox folder on your hard drive to the physical SkyDrive folder, and let the automatic synchronization do your dirty work.  It’s so easy I am wondering if this post is even necessary 🙂


After this, if you no longer wish to use Dropbox, you probably want to delete your account.  Dropbox is a transparant company and properly implemented this, instead of hiding stuff like that, like so many other companies.  I strongly suggest to first manually delete all your files and revoke any access you have granted to third party applications and services like Facebook, Twitter, LinkedIn, …


Read my other posts about my online services switch from Google to Microsoft:

Moving webmail from Gmail to
Moving address book from Google Contacts to Microsoft People
Switching private cloud service from Google Drive to SkyDrive
Moving photo albums from Picasaweb / Google+ Photos to SkyDrive
How Google is slowly losing me as a client to Microsoft
Switching search engines from Google to DuckDuckGo