Unable to cast COM object … to IVsGlobalUndoCapableUndoManager

Hi all, sorry for the absense – we’re all really busy fixing Visual Studio 2010 performance, memory consumption, improving stability and fixing last minute bugs. Good news: if you’re seeing this: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.VisualStudio.Editor.Implementation.IVsGlobalUndoCapableUndoManager’. This operation failed because the QueryInterface call on the COM component for…

3

Visual Studio 2010 Beta 2 Known Issues – Part 2

This post continues my unofficial list of known issues in VS 2010 Beta 2 (see Part 1). As we continue getting Beta 2 feedback and investigating issues, it’s time for another update on the issues we’ve been seeing. Please keep in mind that due to the volume of the issues, I’m only mentioning the ones…

23

A million-dollar pen vs. a pencil

You know this legend about how NASA spent millions to develop a pen that can write in zero gravity, and the russians have just used a pencil? Well, I was reminded about this by Dejan’s post in response to my post about the Random Gradient Wallpaper Generator. I used an O(NxN) algorithm to generate a…

5

Bezier Curves and Car Manufacturers

Michael has asked me if it was possible to add Bezier curves to Live Geometry. So I went ahead and added a Bezier tool (and it took me about 30 minutes to do so!): This draws a cubic Bezier curve using four points: There is something beautiful and elegant about these curves. No wonder industrial…

3

Irony

(Ironically, this post is not about irony in it’s traditional sense) Irony (http://irony.codeplex.com) is an open-source .NET compiler construction framework written by Roman Ivantsov. It is a “.NET Language Implementation Toolkit”. The language grammar is described in C# (or any other .NET language). So instead of generating the scanner and the parser from a grammar…

7

Indexed Properties in C# 4.0

Executive summary: In C# 4.0 you can call parameterized properties declared in COM using the indexer syntax, for instance instead of excel.get_Range("a") you can now write excel.Range["a"]. You can’t declare your own indexed properties from C#. We have no plans of adding the ability to declare your own properties with parameters. Instead, the recommended way…

12

Visual Studio 2010 Beta 2 Known Issues

[This is Part 1. Read Part 2 here] Now that we’ve shipped Beta2 and the world is busy downloading the fresh new bits, I’m very excited to know what do you guys think? Will you like it? Will there be major issues that we missed? Time will show http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx – the Beta 2 start page…

14

Saving images (.bmp, .png, etc) in WPF/Silverlight

I’ve recently added a new feature to Live Geometry that allows users to save the current drawing as a bitmap or a .png file. Just push the save button and pick the desired image format in the Save dialog: Fortunately, both WPF and Silverlight support saving full visual contents of any visual into a file…

10

Links

There are several good folks out there who regularly accumulate interesting links about all things .NET and other stuff on their blogs (cast in alphabetical order): Alvin Ashcraft Alvin Ashcraft’s Morning Dew .NET Development Resources from a Progressive.NET Perspective Arjan Zuidhof Arjan’s World Arjan Zuidhof’s opinionated linkblog, with a hang to Alt.NET Charlie Calvert Charlie…

0

Visual Studio 2010 New Editor screenshot

I’m very happy with how the Visual Studio editor improved since Beta1: This is all WPF and includes the WPF 4.0 text rendering changes (DWrite integration). Note the new Zoom combobox in the bottom-left (which is the visual counterpart of Ctrl+ScrollWheel). Also the cross to close the tab is now located ON the tab, and…

18