Back to Blogs … Installing Live Writer 2012

I lost my blogging tools in the process of testing Windows 10 and or reinstalling machines. I now finally came to install Live Writer back on my machine.

I am working on getting my way around Office365 Development. It appears that developing using VBA and VSTO Add-ins is soooo year 2000, time to move forward Winking smile.

Well, the real story is that in my day job I’m still on VSTO but it probably doesn’t come as a surprise if I say that Microsoft already spent at least four years (plus) by now on creating a new Add-in platform that is ready to target X-Platform (Windows, IOS, Android) development.

They still have a long way to go, many items within the current (COM) object model still needs to be addressed, but as time is moving forward the Office Development Team is making great progress in adding new features every day hopefully in the end getting in par with the VSTO capabilities. And let’s be real, the Office365 scope of today is so much bigger than the scope of the ‘old’ Office.

Anyway, I got rebooted, and if you can read this I was able to get Live Writer 2012 installed and to be ready for future posts.

Oh, and this is how I installed Live Writer – in case you want to join me and start your own blog:

[Thanks to Stefan to help out here: http://blogs.technet.com/b/stefan_stranger/archive/2015/07/24/installing-windows-live-writer-on-windows-10.aspx]

VSTO Runtime Update (10.0.50325)

The Visual Studio Developer Division just announced a new version of the VSTO (Visual Studio Tools for the Office System) Runtime (10.0.50325).

One of the issues, the one when using WPF controls caused a massive delay in closing Office applications, I worked close with the team to test and get this solved. The issue also reported on Connect was a hard one to fix as it depended on many factors such as Touch Screen interfaces and appeared on previous versions of the Runtime.

The second issue addressed by this update covers the publisher’s name and verification status to show properly when using SHA256 code-signing certificates where the Trust Prompt at first displayed “Unknown Publisher” even when the publisher was fully trusted.

Read more about the Runtime Update at the blog from the VSTOTeam located at:
VSTO Runtime Update to Address Slow Shutdown and “Unknown Publisher” for SHA256 Certificates 

You can download the latest version of the VSTO Runtime at http://go.microsoft.com/fwlink/?LinkId=140384 and will be distributed as part of Windows Update.

I for one am very happy to see this solved and released to the public. Our enterprise firm encountered the WPF issue on a large scale just after deploying our top of the bill new laptops to all of our users and would like to thank the VSTO Team for working with us to get this out of the way! We really spent a huge amount of hours in this to cover all the scenarios we could think of in both new and older (existing) add-ins.

Showtime: The Book Thief

The Book Thief


The “Showtime” section on my blog is a reminder, mostly for my own reference but maybe helpful for other film enthusiasts as well, to remember what movies I’ve seen lately, what it was about and how I rated it in general.


The Book Thief is about a little girl, unable to read and write at her early years to be abandoned by her mother in times of war in the 1930’s. While living at her foster parents home she learns to read and write and especially gets the affection to read books. To be able to read books she steals (or borrows) the books and was called “The Book Thief” by one of her neighbor boys.

the perspective of a German family in war time isn’t used in many films. Especially a family giving shelter to a Jewish refugee in a city of Germany is a less common thing to project.

The movie is highly (maybe over-)dramatized, displaying some intense situations people had to go through when the world was at war. Although the level of dramatization could be a bit less overall it is a touching story. The girl playing Liesel Meminger (Sophie Nélisse) is a rising star and I think we haven’t seen the last of her yet.

I expected the movie, given the amount of nominations, to be somewhat better and rate it a high six out of ten.

New Office REST APIs and Developer Tools for Visual Studio Update

Tonight (here in Europe that is) Somasegar announced on his blog that the Visual Studio Team and the Office Team released a “number of significant updates for developers building apps that interact with the Office ecosystem”.

All of the updates are more or less related to building Apps for Office/SharePoint and the Cloud. If you need full integration (interacting between Word and Excel, building compound documents, Ribbon interaction etc.) I think you still need to use the ‘other’ option, VSTO. The downside of –that- however is that it won’t be as mobile a you’d like to see. You win some or lose some, depending on the technology you decide to use.

Back to the updates… Announced today were the new Office 365 APIs for consuming Office data and updates of Office Developer Tools for Visual Studio (not to be confused with Visual Studio Tools for the Office System aka VSTO, that is a complete other thing) and “Napa”.

Go and read the blogs for details on all of this,  no need for me to repeat all of it Glimlach

  • The Office 365 Platform blog
  • The Visual Studio blog
  • This year I’ll try to deep dive on this a bit more to get into the subject of replacing your current Add-ins with Apps for Office/SharePoint – Can you or can’t you? Where are we at the moment. Everyone wants to move their Add-ins into the Cloud, but is it even possible today? More on this later …

Showtime: Philomena

Philomena


The “Showtime” section on my blog is a reminder, mostly for my own reference but maybe helpful for other film enthusiasts as well, to remember what movies I’ve seen lately, what it was about and how I rated it in general.


Philomena is a movie nominated for 4 Oscars and a whole slew of other rewards. You wouldn’t expect that by just watching the trailer of the movie.

The movie is about a woman who got pregnant at a very young age and therefor was put away in a Catholic convent where her son was born. Shortly after that her son was taken away from her for adoption.

Journalist Martin Sixsmith started to follow Philomena’s story and together with Philomena he started their search for her long lost son who appeared to have been adopted by an American family. On the search they travel to the United States where they tried to find his current location.

The story of a mother searching for her son changed from a series of facts into an emotional piece of art where spectators in the audience had a hard time to keep it dry. In a silent moment you could hear a soft crying from all directions. The producer managed to touch the hearts of many with this drama. Nine out of Ten, highly recommended !

Office templates not available in VS2012 with ‘converted’ project.

Some time ago I hit a somewhat strange issue where I opened one of our existing projects targeting Office 2010, .NET 4 Client in Visual Studio 2010 and moved this project forward to Visual Studio 2012. After the migration I did not see the Office templates in the Add New Item dialog in Visual Studio 2012.

When adding a ‘new item’ to the project it did not display the Office options to insert a Ribbon for instance:

OfficeTemplatesMissing1

When you create a -new- project, the Office Templates show up without issues:

OfficeTemplatesMissing2

What we see here is a minor issue in the migration code in Visual Studio 2012 and is relatively easy to solve by manually editing the .csproj project file.

What you need to do here to fix this minor issue is to go and look for the entry in the project file called AddItemTemplatesGuid. The migration code changed the AddItemTemplatesGuid property from

AddItemTemplatesGuid="{51063C3A-E220-4D12-8922-BDA915ACD783}”
TO
AddItemTemplatesGuid="{147FB6A7-F239-4523-AE65-B6A4E49B361F}”

Changing it back to the original value makes the Add Item dialog start showing Office category correctly again. So the right Guid should be: "{51063C3A-E220-4D12-8922-BDA915ACD783}”

You can easily check this by creating a small new AddIn project, open the project .csproj file in your editor and search for the AddItemTemplates Guid again. You will see that it is the “{51….” one as specified above. Even better, if you go back into your source control software (TFS or other source control option) environment and look at the value in your original file before migration.

So if you also encounter the fact that you don’t get the Office Templates when adding a New Item in your Office project, dive right in to your .csproj file and change the AddItemTemplatesGuid back to its original value the one that was there before migrating your code.

An update rollup is available for Visual Studio 2010 Tools for Office Runtime 4.0

Today a rollup update for Visual Studio 2010 for Office Runtime 4.0 that was auto-magically released November 13th has been deployed to (at least one of) my machines.

This rollup fixes about four issues with the Visual Studio 2010 Tools for Office Runtime and one fix in particular of a bug that I found and posted on Connect:

http://connect.microsoft.com/VisualStudio/feedback/details/705610/cached-data-storage-fails-in-protected-documents

We worked close with the VSTO development team to identify and isolate the issue and they were able to solve it for us to allow us to continue working with the runtime.

The issue isn’t touched a lot beside our organization (it is a specific user scenario not used by many others) so distribution of the fix was ‘delayed’ until deployment of yesterdays rollup (a hotfix could be requested for in case you ran into it).

So as of yesterday the fix became available for everyone along with a couple of other fixes. Again, probably not many of you will notice any differences but I’m sure the users using one or more of the fixed features will be pleased to see it released in the main branch of the product.

If you want to download the VSTO Runtime on your own, not waiting for Microsoft Update or WSUS you can download it at the Microsoft Download Center.

On a side note, also Office 2013 tooling was released this week to enable you to build VSTO solutions targeting Office 2013 but I will spend some time on that in a separate blog post.

%d bloggers like this: